Objects are programming constructs that have data, behavior, and identity. Object data is contained in the fields, properties, and events of the object, and object behaviors are defined by the methods and interfaces of the object.
Objects have identity - two objects with the same set of data are not necessarily the same object.
Objects in C# are defined through classes and structs - these form the single blueprint from which all objects of that type operate.
Objects have the following properties:
· Everything you use in C# is an object, including Windows Forms and controls.
· Objects are instantiated; that is, they are created from templates defined by classes and structs.
· Objects use Properties to obtain and change the information they contain.
· Objects often have methods and events that allow them to perform actions.
· All C# objects inherit from the Object.