Chapter 4Programming in C# and VB.NET

What you will learn in this chapter:

  • Understanding data types and variables
  • How to use collections and arrays to process lists of information
  • Code flow, branching, and looping
  • How to separate code so it is easy to understand and maintain
  • An introduction to object-oriented programming

Code Downloads for this Chapter:

The wrox.com code downloads for this chapter are found at www.wrox.com/go/beginningaspnetforvisualstudio on the Download Code tab. The code is in the chapter 04 download and individually named according to the names throughout the chapter.

Now that you have spent some time on the designing part of your website, it's time to consider how to handle the programming part, making your web application actually do something other than change colors. There are many different aspects to programming a web application. This chapter gives you the foundation you need for when you start going deeper into the different parts of ASP.NET as you build out the sample application. The constructs and approaches covered in this chapter will be useful for every C# or VB application on which you may ever work.

Introduction to Programming

Every application can be defined as a way to do things. Your application might play music, handle customer registration for your company, help users pick a color to paint their house, or anything else. When you consider all the potential things that an application can do, it might seem a little overwhelming, but ...

Get Beginning ASP.NET for Visual Studio 2015 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.