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

What are collections in c#?

0 Answers  


Can you inherit from a sealed class?

0 Answers  


Enlist the different types of classes in c#?

0 Answers  


Why do we use abstract class in c#?

0 Answers  


What is dataset and dataadapter in c#?

0 Answers  






How do I join one form to another in c#?

0 Answers  


What is the use of convert toint32 in c#?

0 Answers  


Can abstract class have private constructor c#?

0 Answers  


Are enums static c#?

0 Answers  


Explain about Serialize and MarshalByRef?

0 Answers  


Is c# 8 released?

0 Answers  


What is a method signature in c#?

0 Answers  


Categories