What's the difference between a method and a procedure?



What's the difference between a method and a procedure?..

Answer / Mr.amit Kumar

In C#, there is no formal distinction between methods and procedures. A method is simply a function that belongs to an object or class, while a procedure does not belong to any object or class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

explain DIFFERENCE BETWEEN CLASS AND MODULE?

3 Answers  


Is java better than c#?

1 Answers  


How can you overload a method?

6 Answers  


How do you clear a list in c#?

1 Answers  


the c# keyword .int. Maps to which .net type?

1 Answers   Siebel Systems,


In object oriented programming, how would you describe encapsulation in c#?

1 Answers  


What are the 4 pillars of any object oriented programming language?

1 Answers  


What are annotations in c#?

1 Answers  


What does Dispose method do with the connection object?

2 Answers  


What is append in c#?

1 Answers  


What is the difference between dynamic type variables and object type variables in c#?

1 Answers  


What is before string in c#?

1 Answers  


Categories