What are the Different kinds of methods?

Answers were Sorted based on User's Feedback



What are the Different kinds of methods? ..

Answer / a.mustaq ahmed

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

What are the Different kinds of methods? ..

Answer / sarathi soja

Instance methods,abstract method,static methods,sealed
methods,virtual method

Is This Answer Correct ?    11 Yes 3 No

What are the Different kinds of methods? ..

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 the Different kinds of methods? ..

Answer / jayesh

[1] Static Mathod
[2] instance method

Is This Answer Correct ?    6 Yes 5 No

Post New Answer

More C Sharp Interview Questions

Can you inherit multiple interfaces?

3 Answers  


What is delay signing..??

1 Answers   HCL,


Can mvc be used for desktop applications?

0 Answers  


What are c# collections?

0 Answers  


What are the different states of a thread?

0 Answers  






What do you mean by object pooling?

0 Answers  


How do I count the length of a string in c#?

0 Answers  


Can you allow class to be inherited, but prevent the method from being over-ridden?

5 Answers  


Name any three ways to pass parameters to a method in c#?

0 Answers  


Can a struct inherit from another struct or class in c#?

0 Answers  


What you mean by delegate in c#?

0 Answers  


What is cli in c#?

0 Answers  


Categories