J
jp2msft
In C/C++, I can include a static value inside a routine:
void Test()
{
static bool tested = false;
if (tested == false)
{
FullTest();
tested = true;
}
}
How do I declare a static value in C#?
Thanks,
Joe
void Test()
{
static bool tested = false;
if (tested == false)
{
FullTest();
tested = true;
}
}
How do I declare a static value in C#?
Thanks,
Joe