Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you overload a method?

Answers were Sorted based on User's Feedback



How can you overload a method?..

Answer / rahul

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

Is This Answer Correct ?    4 Yes 0 No

How can you overload a method?..

Answer / nitin kumar

By using Different parameter Data type, Different Order of
parameters and different no of parameters

Is This Answer Correct ?    2 Yes 0 No

How can you overload a method?..

Answer / chandana

Method overloading are of two types: Compile-Time and Run
Time.

The compile time overloading is achieved by providing
different method signatures. Whereas, the runtime is
achieved by using the same method names for a hierarchy of
classes, (parent and child classes using the same method
signature); In this case, behavior of the method call is
decided at run time.

Is This Answer Correct ?    1 Yes 0 No

How can you overload a method?..

Answer / 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

How can you overload a method?..

Answer / rajkamal

Method Overload can be

1.Same Method Names with Different parameter Types
2.Same Method Names with Different No. Of Arguments

Is This Answer Correct ?    1 Yes 0 No

How can you overload a method?..

Answer / shadab

we can easily overload method in C#
this concept is called method overloading.

there are there ways to pass parameter in method
to perform overloading

1>number of parameter
2>Data types of parameter
3>sequence of parameter

for more details visit my blog
http://www.shadab-programminghelp.blogspot.com

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a nullreferenceexception?

0 Answers  


How many classes are there in classification?

0 Answers  


When you inherit a protected class-level variable, who is it available to?

2 Answers  


Which is faster dictionary or hashtable?

0 Answers  


What is #region in c#?

0 Answers  


What is asynchronous one-way calls?

0 Answers  


How can I get around scope problems in a try/catch?

0 Answers  


How many catch blocks can be there for a single try block?

5 Answers   Clover, HCL,


Is static thread safe?

0 Answers  


Are structs value types or reference types?

0 Answers  


what is namespace?

6 Answers  


What is internal and protected-internal accessspecifier in c#.net?

1 Answers  


Categories