Friday, 15 August 2014

Is there a C# equivalent of VB.NET's "Static"? -



Is there a C# equivalent of VB.NET's "Static"? -

the vb.net static declaration:

http://msdn.microsoft.com/en-us/library/z2cty7t8.aspx

the reference can find question 2008:

http://forums.asp.net/t/951620.aspx?what+is+the+equivalent+of+static+from+vb+net+in+c+

is there equivalent in recent versions of c#, or still not present? there particularly wrong using static in vb.net?

c# not back upwards , won't because somehow violates object programming thought of state beingness part of object, not method.

of course of study 1 can syntactic sugar, , he/she event quite right. still, looking through class code, expected description of state variables fields of class. otherwise should find in each , every method.

so can seen high-level decision , millage may vary here.

vb.net static

No comments:

Post a Comment