Answer Posted / jacintha
A function is just a part of code that executes code and
can return
something. A method is, in OOP, a function that is bound to
a class. As
in C# there are no stand-alone functions, every function in
C# is a method.
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Why we use methods in c#?
What is delegate in c# interview questions?
What does return do in for loop?
What is an assembly loader?
What are the advantages of generics in c#?
If I return out of a try/finally in c#, does the code in the finally-clause run?
When should we use delegates in c#?
What is the delegate in c#?
Is system a class in c#?
What is c# console application?
How do generics work in c#?
What is difference between static and readonly in c#?
For methods inside the interface why can’t you specify the accessibility modifier?
What is difference between sleep () and wait ()?
What are the 2 broad classifications of fields in c#?