|
-
Jun 12th, 2006, 11:16 AM
#1
Thread Starter
Junior Member
[2005] Referencing to code
If i write some code that i want to use again, is there a function or something that will use the code that i have already written without me having to type it again?
technohamster
-
Jun 12th, 2006, 11:55 AM
#2
Re: [2005] Referencing to code
When you use classes and call properties and methods that's exactly what you're doing: re-using code that was written once over and over again. If you write a method, i.e. procedure or function, then you can call it over and over again without having to write its contents out again. You can also create Class Library projects that contain multiple classes, all full of properties and methods that you can use over and over again. That's exactly what the .NET Framework is (amongst other things): a collection of class libraries.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|