What is the use of static in c#?
Answer / Chandra Shekhar
In C#, the keyword 'static' can be used to create a static member or method. Static members and methods belong to the class itself rather than any specific instance of the class. They are shared across all instances and do not require an object to be instantiated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?
What is the difference between string keyword and system.string class?
When was c# created?
write code for Factorial?
Explain attributes in c#?
What?s different about switch statements in C#?
What is args c#?
What are the types of attributes in c#?
What is the default value of object in c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
What is the solution if you need to manipulate sets of items?
What is an example of delegation?
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)