B
Brahm
Hello,
I am trying to do this in C# within a private void method but the value
keeps changing in each call. I tried to use const but i get compiler
errors.
const bool firstTime = true;
if( firstTime == true)
{
firstTime = false; // compiler does not like this
}
I get left hand side of an assignment must be a variable.
Thanks, Please tell me how to reply...
BRAHM
I am trying to do this in C# within a private void method but the value
keeps changing in each call. I tried to use const but i get compiler
errors.
const bool firstTime = true;
if( firstTime == true)
{
firstTime = false; // compiler does not like this
}
I get left hand side of an assignment must be a variable.
Thanks, Please tell me how to reply...
BRAHM