A static variable in C# behaves like a static member variable in c++. That is out of the multiple meanings of the 'static' keyword in c++ only one of Them exists in the context of C#. E.g. you can't limit the scope to a file with static (which is strictly a C feature) in C#