What is difference between a function and a method?
Answer / Megha Saxena
"A function is a self-contained block of code that performs a specific task. In C#, functions are not associated with objects and can exist independently. On the other hand, a method is a function that belongs to an object or class. It is used to perform actions on the object or class it is associated with."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Decorator and Adapter pattern?
What are strings in c#?
What is token in c#?
Can we inherit a private class in chsarp? how? explain(with code) ?
Explain namespaces in c#.
How can you clean up objects holding resources from within the code?
What is the difference between list and arraylist c#?
Explain static class members.
Tell me something about Exceptions. What is the common exception class?
coding for delegates?
What do you understand by 'access specifiers' in C#?
What is application c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)