Skip to content
Home Page

C# Language Studies

What is C#?

csharp_logo

C# (pronounced C Sharp) is a modern, object-oriented, strongly typed programming language.

It was developed by Microsoft in 2000 as part of the .NET platform.

It is used for Desktop, Web, and Mobile apps, Games, Scripts, Cloud services, and more.

It is one of the most popular languages in the corporate world and among developers who work with Microsoft software.

Main features


→ Object orientation : Supports inheritance, polymorphism, and encapsulation.

→ Familiar syntax : Similar to Java and C++.

→ Garbage Collection : Automatic memory management.

→ Cross-platform : Since .NET Core, C# can be used on Windows, Linux, and macOS; the .NET Framework is only compatible with Windows.

→ Type safety : A strongly typed language means the type of data being used (string, int, float, etc.) must be explicit, which gives us control over the data flow in our system.

→ LINQ : Querying databases and collections directly from the language, one of the differentiators of C#.

→ Async/Await : Native support for asynchronous programming.

Content

Basics

Object-Oriented Programming

Data Structures

Functional Programming

SOLID

Scripting

Version history


VersionRelease yearKey features
C# 1.02002First version
C# 2.02005Generics, Anonymous Methods
C# 3.02007LINQ, Lambda Expressions
C# 4.02010dynamic, optional arguments
C# 5.02012async/await
C# 6.02015String interpolation
C# 7.02017Tuples, patterns
C# 8.02019Nullable reference types, ranges
C# 9.02020record, init-only setters
C# 10.02021Global using, file-scoped namespace
C# 11.02022raw string literals, generic attributes
C# 12.02023Primary constructors, collection expressions
C# 13.02024params with collections, structs in interfaces