You are on page 1of 2

.

NET AND C#
.NET Framework  is a software framework developed by Microsoft that runs primarily on Microsoft
Windows. It includes a large class library known as Framework Class Library (FCL) and
provides language interoperability(each language can use code written in other languages) across
several programming languages. Programs written for .NET Framework execute in
a software environment (as contrasted to hardware environment) known as Common Language
Runtime (CLR), an application virtual machine that provides services such as security, memory
management, and exception handling. (As such, computer code written using .NET Framework is called
"managed code".) FCL and CLR together constitute .NET Framework. FCL provides user interface, data
access, database connectivity, cryptography, web application development, numeric algorithms,
and network communications. Programmers produce software by combining their own source
code with .NET Framework and other libraries. .NET Framework is intended to be used by most new
applications created for the Windows platform. Microsoft also produces an integrated development
environment largely for .NET software called Visual Studio.

C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved


by European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO).

C# was developed by Anders Hejlsberg and his team during the development of .Net Framework.

C# is designed for Common Language Infrastructure (CLI), which consists of the executable code and runtime
environment that allows use of various high-level languages on different computer platforms and architectures.

The following reasons make C# a widely used professional language:

 It is a modern, general-purpose programming language

 It is object oriented.

 It is component oriented.

 It is easy to learn.

 It is a structured language.

 It produces efficient programs.

 It can be compiled on a variety of computer platforms.

 It is a part of .Net Framework.

OOPS CONCEPTS AND C#..


OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions
around these objects.

1. The software is divided into a number of small units called objects. The data and functions are built
around these objects.
2. The data of the objects can be accessed only by the functions associated with that object.
3. The functions of one object can access the functions of another object.
CLASS

A class is the core of any modern Object Oriented Programming language such as C#.

In OOP languages it is mandatory to create a class for representing data. 

A class is a blueprint of an object that contains variables for storing data and functions to perform operations
on the data. 

A class will not occupy any memory space and hence it is only a logical representation of data.

To create a class, you simply use the keyword "class" followed by the class name:

class Employee
{
 
}

You might also like