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 |
What are collections in c#?
Can you inherit from a sealed class?
Enlist the different types of classes in c#?
Why do we use abstract class in c#?
What is dataset and dataadapter in c#?
How do I join one form to another in c#?
What is the use of convert toint32 in c#?
Can abstract class have private constructor c#?
Are enums static c#?
Explain about Serialize and MarshalByRef?
Is c# 8 released?
What is a method signature in c#?