Why do we use static methods in c#?
Answer / Sangeeta Singh
Static methods in C# are used to provide functionality that doesn't require an instance of the class. They can be called directly from their containing class and don't have access to non-static class members.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of console application in c#?
directcast(123.34,integer) - should it throw an error? Why or why not?
STATIC METHOD CAN BE OVERLOADING AND OVERIDNG? IS POSSIBLE IN iN c# .NET AND WHAT IS THE REASON??
What is the and operator in c#?
What is check/uncheck?
How can I get the ascii code for a character in c#?
If u declare two interfaces withsame methodnmae .prototype how can u call the particular method from class?
what is c# command?
what is the difference between the debug class and trace class?
How?s the DLL Hell problem solved in .NET?
Describe ado.net?
What are interfaces in 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)