Chapter 3VB and C# Programming Basics

One of the great things about using ASP.NET is that we can pick and choose which of the various .NET languages we like. In this chapter, we’ll look at the key programming principles that will underpin our use of Visual Basic and C#. We’ll start by discussing some of the fundamental concepts of programming ASP.NET web applications using these two languages. We’ll explore programming fundamentals such as variables, arrays, functions, operators, conditionals, loops, and events, and work through a quick introduction to object oriented programming (OOP). Next, we’ll dive into namespaces and address the topic of classes—seeing how they’re exposed through namespaces, and which ones you’ll use most often.

The final ...

Get Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition 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.