In C#, is there a way to put a static variable in a method like VB.Net?
Static myCollection As Collection
No there isn't but how is this different then having a static variable at the class level?
Actually if you look into how shared is implemented, it is a compiler trick that creates a static field on the class.