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 |
Why do we use interfaces in c#?
What is difference between value and reference types?
What are different properties provided by Object-oriented systems?
What is binding in c#?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
Can we inherit static class in c#?
What is the difference between // comments, /* */ comments and /// comments?
What is difference between first and firstordefault?
Constructor to an arbitrary base constructor?
Why static constructor is parameterless in c#?
What is Named parameter in C#?
What is addressof operator?