Comparison with C#


Please explain why do you think this question should be reported?

Report Cancel
  • C# and Visual Basic .NET are Microsoft's first languages made to program on the .NET Framework .
  • Though C# and VB.NET are syntactically different, that is where the differences mostly end.
  •  Microsoft developed both of these languages to be part of the same .NET Framework development platform.
  •  They are both developed, managed, and supported by the same language development team at Microsoft.
  • They compile to the same intermediate language (IL), which runs against the same .NET Framework runtime libraries. Although there are some differences in the programming constructs, their differences are primarily syntactic and, assuming one avoids the Visual Basic "Compatibility" libraries provided by Microsoft to aid conversion from Visual Basic 6, almost every command in VB has an equivalent command in C# and vice versa. Lastly, both languages reference the same Base Classes of the .NET Framework to extend their functionality.
  • As a result, with few exceptions, a program written in either language can be run through a simple syntax converter to translate to the other. There are many open source and commercially available products for this task.
Please follow and like us:

About the Author