Paradigm | multi-paradigm: structured, imperative, object-oriented, event-driven, task-driven, functional, generic, reflective, concurrent |
---|---|
Family | C |
Designed by | Microsoft |
Developer | Microsoft |
First appeared | 2000 |
Stable release |
6.0 / 2015
|
Preview release |
7 / 2016
|
Typing discipline | static, dynamic,strong, safe, nominative, partially inferred |
Platform | Common Language Infrastructure |
License | CLR is proprietary, Mono compiler is dual GPLv3, MIT/X11 and libraries are LGPLv2, DotGNU is dual GPL and LGPLv2 |
Filename extensions | .cs |
Website | www |
Major implementations | |
Visual C#, .NET Framework, Mono, DotGNU | |
Dialects | |
Cω, Spec#, Polyphonic C#, Enhanced C# | |
Influenced by | |
C++,Eiffel, Java,Modula-3, Object Pascal,ML, VB, Icon, Haskell, Rust, J#, Cω, F# | |
Influenced | |
Chapel,D, J#, Dart,F#, Hack, Java,Kotlin, Monkey, Nemerle, Oxygene, Rust, Swift,Vala | |
|
C# (pronounced as see sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.
C# is a general-purpose, object-oriented programming language. Its development team is led by Anders Hejlsberg. The most recent version is C# 6.0 which was released in 2015.
The ECMA standard lists these design goals for C#:
During the development of the .NET Framework, the class libraries were originally written using a managed code compiler system called Simple Managed C (SMC). In January 1999, Anders Hejlsberg formed a team to build a new language at the time called Cool, which stood for "C-like Object Oriented Language". Microsoft had considered keeping the name "Cool" as the final name of the language, but chose not to do so for trademark reasons. By the time the .NET project was publicly announced at the July 2000 Professional Developers Conference, the language had been renamed C#, and the class libraries and ASP.NET runtime had been ported to C#.