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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Jun 12, 2014, 1:04 AM
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.
Abhay ShankerPosted Jun 12, 2014, 12:35 AM
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