A
Avi Farah
Folks,
VB.Net allows a Function / Sub to have a static local
variable while C# does not. A local variable that keeps
it value from call to call. Does anyone know how I can
achieve the same functionality in C#?
If I cannot achieve the same in C# all is not lost since
the variable can easily be moved to be a private instance
variable of the class. Though its scope grew a bit.
Cheers,
Avi
VB.Net allows a Function / Sub to have a static local
variable while C# does not. A local variable that keeps
it value from call to call. Does anyone know how I can
achieve the same functionality in C#?
If I cannot achieve the same in C# all is not lost since
the variable can easily be moved to be a private instance
variable of the class. Though its scope grew a bit.
Cheers,
Avi