How do I declare a static variable in a member function in C#? In C++ I am use to the following...
class Foo {
void DoIt() {
static int counter; // this counter is only seen in this
// function. Its value is retentive.
...
}
...
};
Thanks...David
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
