How can you overload a method?

Answers were Sorted based on User's Feedback



How can you overload a method?..

Answer / guest

Different parameter data types, different number of
parameters, different order of parameters

Is This Answer Correct ?    6 Yes 0 No

How can you overload a method?..

Answer / bala

Whenever The Method have a same name but differnt
parameters,we can do overloading...

Is This Answer Correct ?    2 Yes 0 No

How can you overload a method?..

Answer / shoaib

Whenever The Method have a same name but differnt
parameters like Different parameter data types, different
number of
parameters, different order of parameters ..
we can do overloading...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are the benefits of using generics in c#?

1 Answers  


What is namespace explain with example?

1 Answers  


What is difference between private and static constructor?

1 Answers  


How we convert private assembly into public assembly?

1 Answers   Wipro,


what is IDisposal interface,IComparable,IEquatable,IFormatable

1 Answers   Wipro,


What is string method in c#?

1 Answers  


If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

1 Answers   HCL,


Is c# used for frontend or backend?

1 Answers  


What is iformatprovider in c#?

1 Answers  


Why do we overload constructors?

1 Answers  


Difference between C++ and C#.net

19 Answers   Google, TCS, Wipro,


What is difference between sleep () and wait ()?

1 Answers  


Categories