Hi....
Why are we make static class in c# application and which condition we can use class static?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhay ShankerRank #375 · 6.7K reputationPosted Jun 11, 2014, 8:35 PM EDT
For more details Check below links
http://msdn.microsoft.com/en-us/library/79b3xss3.aspx
http://msdn.microsoft.com/en-us/library/98f28cdx.aspx
http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp
http://programmers.stackexchange.com/questions/103914/why-and-when-should-i-make-a-class-static-what-is-the-purpose-of-static-key
Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 11, 2014, 9:04 PM EDT
hi,
Please refer MSDN link
http://csharp.net-tutorials.com/classes/static-members/
http://msdn.microsoft.com/en-us/library/ms245046(VS.80).aspx
it has good example when we can use Static class.
Generally static class more use full in stand alone application.