C Sharp
C Sharp
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.