Answer Posted / vibhu
When you overload a method, you must change the signature
(the name, number, or type of the parameters). You are
free, as well, to change the return type, but this is
optional. Changing only the return type does not overload
the method, and creating two methods with the same
signature but differing return types generates a compile
error.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is difference between Enum and Struct?
What is oledb in c#?
What is a sealed class?
What is the object class in c#?
Why are strings in c# immutable?
What is static class in C#?
What is a destructor in c#?
What are the advantages of properties in c#?
What is the use of constructor in c# with example?
What are abstract classes in c#?
Define boxing and unboxing in c#?
Does c# do array bounds checking?
What is COM Interoperability?
What is the usage of transponders?
Why do we use abstraction in c#?