CHAPTER 2

image

The Visual Basic Language

Before you can create an ASP.NET application, you need to choose a .NET language in which to program it. Both VB and C# are powerful, modern languages, and you won’t go wrong using either of them to code your web pages. Often the choice is simply a matter of personal preference or your work environment. For example, if you’ve already programmed in a language that uses C-like syntax (for example, Java), you’ll probably be most comfortable with C#. Or if you’ve spent a few hours writing Microsoft Excel macros in VBA, you might prefer the natural style of Visual Basic. Many developers become fluent in both.

Get Beginning ASP.NET 4.5 in VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.