Chapter 2. ASP.NET Languages

In this chapter

Variables

Expressions

Program Control

Exceptions

The Microsoft ASP.NET development team boasts about ASP.NET being language agnostic. That is, it doesn’t matter in which language you develop; the results are the same.

Visual Studio comes out of the box with three languages: VB, C#, and JScript. All three provide easy access to the .NET substrate, and they all produce binaries that execute similarly. The language that a developer chooses depends on personal inclination, the collective desires of the team, and which language is best suited for the task at hand. All languages interoperate with each other beautifully—one module can be written in VB and consume a component that was written in C#.

Many third-party ...

Get Special Edition Using® Microsoft® ASP.NET 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.