Tangible Software Solutions
The Most Trusted Name in Source Code Conversion
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 and C# and you are depending on the results being reliable and accurate, then you will want to have Instant C#, the best VB to C# converter, or Instant VB, the best C# to VB converter, at your fingertips.
Copyright © 1997 - 2017 Tangible Software Solutions Inc.