Changing the Characteristics of Objects

Almost everything you work with in Visual C# .NET is an object. Forms, for instance, are objects, as are all the items you can put on a form to build an interface—such as list boxes and buttons. There are many types of objects, and objects are classified by type. For example, a form is a Form object, whereas items you can place on a form are called Control objects, or controls. (Hour 3, “Understanding Objects and Collections,” discusses objects in detail.) Some objects don't have a physical appearance, but exist only in code, and you'll learn about these kinds of objects in later hours.

Every object has a distinct set of attributes known as properties (regardless of whether or not the object has a physical ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours 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.