Replace it with a class-level variable, but be aware that this new variable
will have to be declared 'static' (no relation to VB 'static') if the method
containing the original variable was a Shared ('static' in C#) method.
i.e., local static variables in static methods convert to class-level static
variables in C# and local static variables in non-static methods convert to
class-level non-static variables in C#.
David Anton
www.tangiblesoftwaresolutions.com
Home of the Instant C# VB.NET to C# converter
and the Instant VB C# to VB.NET converter
"Joël" wrote:
> Hi!
>
> VB.Net has the "static" keyword who allow me to declare a local variable
> static like in C.
> Is there any equivalence with C# ?
> Thanks for your help.
>
> Joël
>