Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Maximizing.ASP.dot.NET.Real.World.ObjectOriented.Development [Electronic resources] - نسخه متنی

Jeffrey Putz

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Chapter 2. Classes: The Code Behind the Objects


In the last chapter, we briefly described the code structure for classes. Now we'll look at the underlying structures of a class that enable you to get things done. This is not an exhaustive list of members or other structures (we will not, for example, cover structs, generics, or delegates), but these are the nuts and bolts you should be most familiar with.

For more specific and thorough explanations, check out Professional C#, 3rdEdition (Wrox Press, 2004) or Professional Visual Basic .NET, 3rdEdition (Wrox Press, 2004).

It's easy to get overwhelmed by all of the information in this chapter. Take the topics one at a time, and don't worry if you don't see how it all fits into the big picture. Until you've had a lot of opportunities to apply these concepts, they may not sink in. Most developers I know learn by doing, not just by reading about the subject! As we get more into class design in the next chapter, you may refer back to some topics here.


You'll hear different parts of a class referred to as "members." Members include all of the little parts of a class, including properties, methods, and internally used variables that have class scope (more on that later). Think of it this way: anything indented one tab in from your class declaration in Visual Studio is a class member. The drop-down list in the Visual Studio code editor (at the top, on the right) enables you to quickly jump around to your various class members.


/ 146