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

Can you prevent a class from overriding?

3 Answers  


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

0 Answers  


What is an assembly qualified name? Is it a filename? How is it different?

0 Answers  


How many bytes is an int?

0 Answers  


Where value types are stored in c#?

0 Answers  






What are handlers in c#?

0 Answers  


Define an escape sequence, name few strings in escape sequence?

0 Answers  


How many aware interfaces are there?

0 Answers  


What are strongly typed objects?

0 Answers  


What is void method?

0 Answers  


What is single dimensional array in c#?

0 Answers  


What is view model in c#?

0 Answers  


Categories