What are the Different kinds of methods?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is .net and c# the same?

558


Why to use “using” in c#?

560


Why is ienumerable used?

502


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

509


Why constructor is used in c#?

489






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

523


What is data binding c#?

534


What is dependency in software?

524


What is the task perform by clr?

577


What is asp net c# corner?

795


What is the purpose of the integer parse method the decimal parse method?

526


Which is faster dictionary or hashtable?

451


What are the advantages of clr procedure over t-sql procedure?

599


Why singleton pattern is used in c#?

538


Can you inherit from multiple classes in c#?

456