0% found this document useful (0 votes)
12 views2 pages

C Sharp

Uploaded by

ENGLISH CLASSES
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

C Sharp

Uploaded by

ENGLISH CLASSES
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

C#

C# (pronounced "C sharp") is a programming language that is designed for building a variety of
applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The
many innovations in C# enable rapid application development while retaining the expressiveness and
elegance of C-style languages.

C# syntax is highly expressive, yet it is also simple and easy to learn. The syntax of C# will be instantly
recognizable to anyone familiar with C, C++ or Java. Developers who know any of these languages are
typically able to begin to work productively in C# within a very short time. C# syntax simplifies many of
the complexities of C++ and provides powerful features such as nullable value types, enumerations,
delegates, lambda expressions and direct memory access, which are not found in Java.
As an object-oriented language, C# supports the concepts of encapsulation, inheritance, and
polymorphism. All variables and methods, including the Main method, the application's entry point, are
encapsulated within class definitions. A class may inherit directly from one parent class, but it may
implement any number of interfaces.
In addition to these basic object-oriented principles, C# makes it easy to develop software components
through several innovative language constructs, including the following:
 Encapsulated method signatures called delegates, which enable type-safe event notifications.
 Properties, which serve as accessors for private member variables.
 Attributes, which provide declarative metadata about types at run time.
 Inline XML documentation comments.
 Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety of data
sources.

C#
C# (pronounced "C sharp") is a programming language that is designed for building a variety of
applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The
many innovations in C# enable rapid application development while retaining the expressiveness and
elegance of C-style languages.

C# syntax is highly expressive, yet it is also simple and easy to learn. The syntax of C# will be instantly
recognizable to anyone familiar with C, C++ or Java. Developers who know any of these languages are
typically able to begin to work productively in C# within a very short time. C# syntax simplifies many of
the complexities of C++ and provides powerful features such as nullable value types, enumerations,
delegates, lambda expressions and direct memory access, which are not found in Java.
As an object-oriented language, C# supports the concepts of encapsulation, inheritance, and
polymorphism. All variables and methods, including the Main method, the application's entry point, are
encapsulated within class definitions. A class may inherit directly from one parent class, but it may
implement any number of interfaces.
In addition to these basic object-oriented principles, C# makes it easy to develop software components
through several innovative language constructs, including the following:
 Encapsulated method signatures called delegates, which enable type-safe event notifications.
 Properties, which serve as accessors for private member variables.
 Attributes, which provide declarative metadata about types at run time.
 Inline XML documentation comments.
 Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety of data
sources.

You might also like