Why do we need Static Class and where do we use Static class ? [Resolved]

Posted by Kasani007 under C# on 10/9/2014 | Points: 10 | Views : 707 | Status : [Member] | Replies : 1
Why do we need Static Class and where do we use Static class ?




Responses

Posted by: Goud.Kv on: 10/10/2014 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
Hi Chaitanya,

Static is a keyword (modifier) used with methods, classes, fields, constructors, operators, properties and events. It cannot be used with indexers and destructors.

Please read the below posts,
http://www.dotnetfunda.com/articles/show/2960/fields-modifiers-allowed-by-fields-in-csharp
http://www.dotnetfunda.com/interviews/show/9038/what-are-the-static-members-in-csharp-programming

Thanks & Regards,
Krishna

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response