C# is a multi-paradigm, statically-typed programming language with object-oriented, declarative, functional, generic, lazy, integrated querying features and type inference.

Statically-typed means that identifiers have a type set at compile time--like those in Java, C++ or Haskell--instead of holding data of any type like those in Python, Ruby or JavaScript.

Object-oriented means that C# provides imperative class-based objects with features such as single inheritance, interfaces and encapsulation.

Declarative means programming what is to be done, as opposed to how it is done (a.k.a imperative programming) (which is an implementation detail which can distract from the domain or business logic).

Functional means that functions are first-class data types that can be passed as arguments to and returned from other functions.

Generic means that algorithms are written in terms of types to-be-specified-later that are then instantiated, when needed, for the specific types provided as parameters.

Lazy (a.k.a "deferred execution") means that the compiler will put off evaluating an item until required. This lets one safely do weird stuff like operating on an infinite list--the language will only create the list up to the last value needed.

Integrated Querying means the language feature called LINQ "Language-Integrated Query", which enables lazy querying directly within the language, not only its own objects but, also, external data sources through formats such as XML, JSON, SQL, NoSQL DBs and event streams.

Type inference means that the compiler will often figure out the type of an identifier by itself so you don't have to specify it. Scala and F# both do this.

Syntax is similar to that of other C-style languages such as C, C++ and Java.

.NET is the managed environment within which C# runs, so you get access to the entire .NET ecosystem, including all packages on nuget.org. .NET used to be Windows-only but, with the release of .NET Core -- as well as Mono -- you can also use C# on Mac, Linux or Unix-based systems and on mobile platforms too.

C# also has features, amongst others, to make programming with multiple threads/processors, parallelisation, asynchrony, unmanaged code in a managed environment and language interoperability easier. It is developed and maintained by Microsoft, who provides the official documentation.

Help us explain this better! File a GitHub issue at https://github.com/exercism/csharp/issues if you have suggestions, or submit a patch with improvements to the https://github.com/exercism/csharp/blob/master/docs/ABOUT.md file.

Try It!

If you've downloaded the command-line client and have C# installed on your machine, then go ahead and fetch the first problem.

exercism fetch csharp

In order to be able to submit your solution, you'll need to configure the client with your Exercism API key.

exercism configure --key=YOUR_EXERCISM_KEY

When you've written a solution, submit it to the site. You'll have to configure the command-line client with your exercism API key before you can submit.

exercism submit PATH_TO_FILE