Here I will explain oops concepts in c# with examples
or object oriented programming concepts in c#.net with real time examples or
oops or object oriented programming in asp.net with example.
Now let’s start learning about OOPS concepts in c#.net
with real time examples
OOPS Concepts
Class:
It is a collection of
objects.
Object:
It is a real time entity.
An object can be considered a "thing"
that can perform a set of related activities. The set of activities that
the object performs defines the object's behavior. For example, the hand can
grip something or a Student (object) can give the name or address.
In pure OOP terms an object is an instance of a class