find and solve ||
Please wait.....

C# Classes and Objects


     Object-Oriented Programming Concepts

Object oriented programmming(OOP) is a programming language where programs are organized around objest ato action and logic.
This is  the most popular programming languages in c# including abastraction,encapsulation,inheritance and polymorphism.

Object Oriented  has the following important features.


A calss is the core of nay mordern object oriented programming language.
OOP language compalsory  to create a class for representing data.
Class is a collection of method and variables.We can define a class using the class keyword in c#.


For Example

        class Artical



Objest are the basic run-time entities of an object oriented programming system.
"An object is an instance of a class"
The classes are regarded as types for instances and instances can not change their type as runtime.

For Example

Syntax to create an object of class Artical

Artical objArical=new Artical();

Sundar  Neupane

Sundar Neupane

I like working on projects with a team that cares about creating beautiful and usable interfaces.


Report Response