CHAPTER 3

image

Types, Objects, and Namespaces

.NET is all about objects. Not only does .NET allow you to use them, it demands that you do. Almost every ingredient you’ll use to create a web application is, on some level, really a kind of object. In this chapter, you’ll learn how objects are defined and how you manipulate them in your code. Taken together, these concepts are the basics of what’s commonly called object-oriented programming.

So, how much do you need to know about object-oriented programming to write ASP.NET web pages? It depends on whether you want to follow existing examples and cut and paste code samples or have a deeper understanding ...

Get Beginning ASP.NET 4.5 in C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.