Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Visual Basic (.NET)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Comparison with C# === {{Main|Comparison of C Sharp and Visual Basic .NET}} C# and Visual Basic are Microsoft's first languages made to program on the .NET Framework (later adding [[F Sharp (programming language)|F#]] and more; others have also added languages). Though C# and Visual Basic 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.<ref>{{cite web |last=Krill |first=Paul |url=http://www.infoworld.com/article/09/02/27/Microsoft_converging_programming_languages_1.html?R=printThis&A=/article/09/02/27/Microsoft_converging_programming_languages_1.html |archive-url=https://archive.today/20130126074556/http://www.infoworld.com/article/09/02/27/Microsoft_converging_programming_languages_1.html?R=printThis&A=/article/09/02/27/Microsoft_converging_programming_languages_1.html |url-status=dead |archive-date=January 26, 2013 |title=Microsoft converging programming languages | Developer World |publisher=InfoWorld |date=February 27, 2009 |access-date=August 18, 2013 }}</ref> They compile to the same intermediate language (IL), which runs against the same .NET Framework runtime libraries.<ref>{{cite web |url=http://www.dotnet-guide.com/msintermediate.html |title=Microsoft Intermediate Language |publisher=Dotnet-guide.com |access-date=August 18, 2013 |archive-date=June 2, 2013 |archive-url=https://web.archive.org/web/20130602151947/http://www.dotnet-guide.com/msintermediate.html |url-status=live }}</ref> 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 feature in VB has an equivalent feature 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.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)