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 is meant by collections in c#?

0 Answers  


can you create a function in c# which can accept varying number of arguments

0 Answers   Cognizant,


What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

6 Answers   Wipro,


List out two different types of errors in c#?

0 Answers  


What is the default value of datetime in c#?

0 Answers  


what is output parameter and parameter array?

1 Answers   TCS,


What are Custom Control and User Control?

1 Answers  


Explain about Destructor method?

0 Answers  


if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...

2 Answers   CybAge, Wipro,


What is difference between int and int32 in c#?

1 Answers  


What is Co- and Contra-Variance in C#?

0 Answers  


Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?

0 Answers  


Categories