In C#, is there a way to put a static variable in a method like VB.Net?
Static myCollection As Collection
The closest thing to VB.NET's Static is to create a field in the current type. Other than that C# has no equivalent.