Hi all,
Why so we use 'Static' keyword in class declaration statement?
What is meaning of it?
Thanks regards,
Swapnil.
Loading
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.
amazonpupPosted Jun 20, 2006, 2:05 PM
From MSDN:
A class can be declared static, indicating that it contains only static members. It is not possible to create instances of a static class using the new keyword. Static classes are loaded automatically by the .NET Framework common language runtime (CLR) when the program or namespace containing the class is loaded.
http://msdn2.microsoft.com/en-us/library/79b3xss3.aspx
I hope this helps.