How can you overload a method?
Answers were Sorted based on User's Feedback
Answer / guest
Different parameter data types, different number of
parameters, different order of parameters
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / bala
Whenever The Method have a same name but differnt
parameters,we can do overloading...
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
Suppose in a scenario if we want to display information only until 4.00 p.m and after that means after 4.00 p.m if any one tries to access the information it should give error mesage. Then how will you write a delegate for this ? Give coding.
1 Answers HP, nTech Solutions, Primetech Software, PS,
What is stringreader in c#?
Give some examples of commonly used i/o classes?
Is null in c#?
What is difference between write and writeline?
What is argument in c#?
Can we write one page in c# and other in vb in one application ?
Why do we need a singleton class?
How do I do a case-insensitive string comparison?
What is the difference between interface and abstract class in c#?
What is default constructor c#?
What does the keyword “virtual†declare for a method or property?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)