static class members should call with class name...
why an static class members should call with class name?
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.
Sanjeeb LenkaPosted Jul 9, 2013, 11:54 AM
http://www.dotnetperls.com/static-class
Iftikar HussainPosted Jul 9, 2013, 11:46 AM
A static class can be used as a convenient container for sets of methods that just operate on input parameters and do not have to get or set any internal instance fields. For example, in the .NET Framework Class Library, the static System.Math class contains methods that perform mathematical operations, without any requirement to store or retrieve data that is unique to a particular instance of the Math class. That is, you apply the members of the class by specifying the class name and the method name, as shown in the following example.
Regards,
Iftikar
VulpesPosted Jul 9, 2013, 10:28 AM