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
Who introduced c#?
What are the types of serialization?
Is multiple inheritance possible in c#?
How do I unload an assembly?
What is a linq in c#?
What is array c#?
What is an array? Give the syntax for a single and multi-dimensional array?
How do you pronounce c#?
What is a ienumerator?
Explain polymorphism in c# with a simple example?
What are the 3 types of comments in c#?
Is c# a strongly-typed language?
What are virtual classes in c#?
What is default value of bool in c#?
How do I create a multilanguage?