C Sharp (programming language)

C# (/ˌs ˈʃɑːrp/ see SHARP) is a general-purpose high-level programming language supporting multiple paradigms. C# encompasses static typing,:4 strong typing, lexically scoped, imperative, declarative, functional, generic,:22 object-oriented (class-based), and component-oriented programming disciplines.

C#
ParadigmMulti-paradigm: structured, imperative, object-oriented, event-driven, task-driven, functional, generic, reflective, concurrent
FamilyC
Designed byAnders Hejlsberg (Microsoft)
DeveloperMads Torgersen (Microsoft)
First appeared2000 (2000)
Stable release
12.0  / 14 November 2023 (14 November 2023)
Typing disciplineStatic, dynamic, strong, safe, nominative, partly inferred
Memory managementautomatic memory management
PlatformCommon Language Infrastructure
License
Filename extensions.cs, .csx
Websitelearn.microsoft.com/en-us/dotnet/csharp/
Major implementations
Visual C#, .NET, Mono, Universal Windows Platform
Discontinued: .NET Framework, DotGNU
Dialects
, Polyphonic C#, Enhanced C#
Influenced by
C++, , Eiffel, F#, Haskell, Scala, Icon, J#, J++, Java, ML, Modula-3, Object Pascal, VB
Influenced
Chapel, Clojure, Crystal, D, J#, Dart, F#, Hack, Java, Kotlin, Nemerle, Oxygene, Rust, Swift, Vala, TypeScript

The C# programming language was designed by Anders Hejlsberg from Microsoft in 2000 and was later approved as an international standard by Ecma (ECMA-334) in 2002 and ISO/IEC (ISO/IEC 23270 and 20619) in 2003. Microsoft introduced C# along with .NET Framework and Visual Studio, both of which were closed-source. At the time, Microsoft had no open-source products. Four years later, in 2004, a free and open-source project called Mono began, providing a cross-platform compiler and runtime environment for the C# programming language. A decade later, Microsoft released Visual Studio Code (code editor), Roslyn (compiler), and the unified .NET platform (software framework), all of which support C# and are free, open-source, and cross-platform. Mono also joined Microsoft but was not merged into .NET.

As of November 2023, the most recent stable version of the language is C# 12.0, which was released in 2023 in .NET 8.0.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.