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 is the benefit of dependency injection c#?
Explain the difference between a sub and a function in c#.
Is constructor a static method?
How many catch blocks can be there for a single try block?
How can we give strong name to assembly? What is satellite assembly?
Why is it efficient to use System.string under System.Text.StringBuilder ?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
Does c# support properties of array types?
What is interface c#?
What is method and function in c#?
What is c# windows form application?
From which base class do all Web Forms inherit from?