Visual Studio's design-time experience is more responsive in the VB.NET language.Members of Modules imported to the current file, can be access with no preceeding container accessor (See Now for example).Module (although C#'s sealed static classes with additional semantics, but each field has to individually be declared as static).Inline date declarations by using # syntax (M/dd/yyyy).IsNumeric evaluates whether a string can be cast into a numeric value (the equivalent for C# requires using int.TryParse).Marshalling an object for multiple actions using an unqualified dot reference.Auto-wireup of events, VB.NET has the Handles syntax for events.This construct is available so that a programmer may select an object from the Class Name drop down list and then select a method from the Declarations drop down list to have the Method signature automatically inserted Variables can be declared using the WithEvents construct.CodeĪutomatically wrap code snippets in Dumm圜lassDefinitionĪutomatically wrap code snippets in DummyMethodįeatures of Visual Basic.
By default, NRefactory may requires that all code be properly wrapped in a class and (as necessary) method before converting. NRefactory is a powerful C# to VB and VB to C# conversion engine maintained by the developers at SharpDevelop.
This online code conversion tool powered by open source NRefactory library.