Definition of C# programming language

C# is one of the programming languages designed for the .NET Framework software development by Microsoft. It is most known language for this platform. C# is intended to be a modern, simple, general-purpose, object-oriented programming language. C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

C# features

In addition to these basic object-oriented principles, C# has several innovative language constructs, which make it easy to develop software components, including the following:

  • Properties, which serve as accessors for private member variables.
  • Attributes, which provide declarative metadata about types at run time.
  • Encapsulated method signatures called delegates, which enable type-safe event notifications.
  • Language-Integrated Query (LINQ) which provides built-in query capabilities across a variety of data sources.
  • Extension methods, a statically-defined method that operates on a particular type defined as the first parameter, and can be called in source code as if it were a member of the type.
  • dynamic type. The dynamic type tells the compiler not to try to statically resolve any member calls of a variable of the type, instead this members will resolve at runtime, such as in dynamically typed languages.
  • So called "syntax sugar", such as using, async/await, var and other keywords.
  • Inline XML documentation comments.

Short answer

  • C# is one of the programming languages designed for the .NET Framework software development.
  • C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented disciplines.
  • C# has a lot of useful features, unique or rarely seen in other languages.

Similar articles

Comments