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 |
Can you inherit multiple interfaces?
What is delay signing..??
Can mvc be used for desktop applications?
What are c# collections?
What are the different states of a thread?
What do you mean by object pooling?
How do I count the length of a string in c#?
Can you allow class to be inherited, but prevent the method from being over-ridden?
Name any three ways to pass parameters to a method in c#?
Can a struct inherit from another struct or class in c#?
What you mean by delegate in c#?
What is cli in c#?