Language Features not Handled by On-Line Converters
On-line VB to C# or C# to VB converters can be
useful for very simple code snippet conversions, but be aware that
the following language features are either not handled at all or not
handled well by on-line converters:
- Generics
- Operator overloading
- Embedded code in ASP.NET pages
- Parameterized properties
- Project conversion
- Folder conversion
- ASP.NET 2.0 website conversion
- Member calls to .NET system and external assemblies
- Optional parameters
- Function name assignment
- Unstructured VB6-style error handling
- Explicit event accessors
- Event handler 'Handles' suffixes
- Ensuring all code paths return a value
- Complex conditional compilation branches
- Prefixing 'ref' to method call arguments corresponding to ByRef parameters
- Accessors on 'get' and 'set'
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.