What are the Different kinds of methods?
Answers were Sorted based on User's Feedback
these are of two types
1.Concrete:which have implementation.
2.Abstract:which doesn't have any functionality.
| Is This Answer Correct ? | 15 Yes | 5 No |
Answer / sarathi soja
Instance methods,abstract method,static methods,sealed
methods,virtual method
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / manish
All of you are right!
However one more categorization can be done depending on
RETURN of METHOD.
INTERROGATIVE - HAS SOME RETURN value (FUNCTIONS in VB.NET)
IMPERATIVE - NOTHING TO RETURN BUT JUST SOME EXECUTION (SUB
in VB.NET and VOID RETURN TYPE METHODS IN C#)
| Is This Answer Correct ? | 6 Yes | 3 No |
An Array is a Ref Type? what about the array elements which are value type(int,Float...etc)?
What is the difference between hashtable and dictionary?
Can we inherit class that contains only one private constructor?
Does the variables of a private class-level inherited?
How do you prevent a method from being overridden in c#?
Is namespace a class?
Why do we need nullable types in c#?
How to navigate from one page(form) to another page(form) using C#.net...please give me the example
can you create a function in c# which can accept varying number of arguments
What is regex c#?
In a stored procedure 4 select stmts there.If error comes in one select stmt will remaining normally executes?
What is disco?
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)