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
What are escape sequences explain with example?
What is extension method in c sharp?
When was c# created?
Is is possible to force garbage collector to run?
What is difference between out and ref in c#?
What is typeof undefined?
Where static variables are stored?
Can we inherit private members of class in c#?
What is the difference between system.string and system.text.stringbuilder classes?
Why do we need reflection in c#?
Can we inherit class that contains only one private constructor?
You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?
how can one use hcl and c sharp together?
What is desktop application testing?
When should I throw an exception?