Visual Basic (.NET)



Website: docs.microsoft.com/dotnet/visual-basic/

Designed by: Microsoft


Visual Basic (VB), originally called Visual Basic .NET (VB.NET), is a multi-paradigm, object-oriented programming language, implemented on .NET, Mono, and the .NET Framework.

Microsoft launched VB.NET in 2002 as the successor to its original Visual Basic language, the last version of which was Visual Basic 6.0. Although the “.NET” portion of the name was dropped in 2005, this article uses “Visual Basic [.NET]” to refer to all Visual Basic languages released since 2002, in order to distinguish between them and the classic Visual Basic.

Along with C# and F#, it is one of the three main languages targeting the .NET ecosystem.

Microsoft updated its VB language strategy on 6 February 2023, stating that VB is a stable language now and Microsoft will keep maintaining it.Microsoft’s integrated development environment (IDE) for developing in Visual Basic is Visual Studio.

Most Visual Studio editions are commercial; the only exceptions are Visual Studio Express and Visual Studio Community, which are freeware.

In addition, the .NET Framework SDK includes a freeware command-line compiler called vbc.exe.

Mono also includes a command-line VB.NET compiler.

Visual Basic is often used in conjunction with the Windows Forms GUI library to make desktop apps for Windows.

Programming for Windows Forms with Visual Basic involves dragging and dropping controls on a form using a GUI designer and writing corresponding code for each control.