ADBRITE ads links
You are here: CodeIdol.com > C# > Learning C# 2005 > Inside Methods
Learning C# 2005
| 8.1. Overloading Methods
Often you'll want to have more than one method with the same name. The most common example of this is to have more than one constructor with the same name, which allows you to create the object with different types of para...
|
|
| 8.2. Encapsulating Data with Properties
It is generally desirable to designate the member variables of a class as private. This means that only member methods of that class can access their value. When you prevent methods outside...
|
|
| 8.3. Returning Multiple Values
Methods can return only a single value, but this isn't always convenient. Let's return to the Time class. It would be great to create a GetTime( ) method to return the hour, minutes, and secon...
|
|
| 8.4. Summary
Overloading is the act of creating two or more methods with the same name, but that differ in the number and/or type of parameters.Properties appear to clients to be members, but appear to the designer of the class to be methods. This...
|
|
| 8.5. Quiz
Question 81.
What is method overloading and how must the overloaded methods differ?
Question 82.
What is the signature of a method?
Question 83.
What are properties?
Question 84.
How do you create a read-only property?
...
|
|
You are here: CodeIdol.com > C# > Learning C# 2005 > Inside Methods
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|