|
The closest equivalent to VB's local Static variable is a
class-level private variable. If (and only if) the local static
variable was declared in a Shared method, then the C# class
variable should be declared as static. Instant C# creates new class-level variables for each local Static
variable found. The converted variable name is prefixed by the
method name to ensure uniqueness.
If you need to convert between VB.NET and C#
and you are depending on the results being reliable and accurate,
then you will want to have
Instant C#,
the best VB.NET to C# converter, or
Instant VB,
the best C# to VB.NET converter, at your fingertips.
|