Chapter 2. The C# Language

Before you can create an ASP.NET application, you need to choose a .NET language in which to program it. If you're an ASP or VB developer, the natural choice is VB 2010. If you're a longtime Java programmer or old-hand C coder or if you just want to learn the official language of .NET, C# will suit you best.

This chapter presents an overview of the C# language. You'll learn about the data types you can use, the operations you can perform, and the code you'll need to define functions, loops, and conditional logic. This chapter assumes you've programmed before and you're already familiar with most of these concepts—you just need to see how they're implemented in C#.

If you've programmed with a similar language such as Java, ...

Get Beginning ASP.NET 4 in C# 2010 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.