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 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.