Category: Object Oriented Programming

Object Oriented Programming

Static Constructors

Static Constructors

A static constructor is used to initialize any static data, or to perform a particular action that needs performed once only. It is called automatically before the first instance is created or any static...

Static functions

Static functions

Static functions are the functions which are not bounded by the space of any class. They are called directly without making an object from which class they belong. Following example demonstrate the things. Example

Destructors

Destructors

Destructors are used by the .NET Framework to clean up after objects. In general, you don ’ t have to provide code for a destructor method; instead, the default operation does the work for...

Properties and Fields

Properties and Fields

Properties and fields provide access to the data contained in an object. This object data is what differentiates separate objects, because it is possible for different objects of the same class to have different...

What Is an Object

What Is an Object

An object is a building block of an OOP application. This building block encapsulates part of the application, which may be a process, a chunk of data, or a more abstract entity.   In...

Object – Oriented Programming

Object – Oriented Programming

Object – oriented programming is a relatively new approach to creating computer applications that seeks to address many of the problems with traditional programming techniques. The type of programming you have seen so far...