Chapter 10: Defining Class Members


Overview

In this chapter, I continue the discussion of class definitions in C# by looking at how you define field, property, and method class members.

You start by looking at the code required for each of these types, and also look at how to generate the structure of this code using VS wizards. You also see how you can modify members quickly by editing their properties.

When you've covered the basics of member definition you'll take a look at some more advanced techniques involving members: hiding base class members, calling overridden base class members, nested type definitions, and partial class definitions.

Finally, you put theory into practice and create a class library that you can build on and use in later chapters.

In this chapter, you:

  • Learn about field, property, and method class members

  • Create a class library




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net