C Sharp neɣ C# d tameslayt n usihel sɣur Microsoft. Designer n tameslayt-agi isem-is Anders Hejlsberg.
Paradigm | Structured, imperative, object-oriented, event-driven, task-driven, functional, generic, reflective, concurrent |
---|---|
Family | C |
Designed by | Microsoft |
Developer | Microsoft |
First appeared | 2000[1] |
Stable release |
7.3[2]
/ mayyu 7, 2018 |
Preview release |
8.0[3]
|
Typing discipline | static, dynamic,[4] strong, safe, nominative, partially inferred |
Platform | Common Language Infrastructure |
License |
Roslyn compiler: Apache License 2.0[5] Mono compiler: dual GPLv3 and MIT/X11 |
Filename extension |
.cs |
Website |
docs |
Major implementations | |
Visual C#, .NET Framework, Mono, .NET Core, DotGNU (discontinued), Universal Windows Platform | |
Dialects | |
Cω, Spec#, Polyphonic C#, Enhanced C# | |
Influenced by | |
C++,[7] Cω, Eiffel, F#,[lower-alpha 1], Haskell, Icon, J#, J++, Java,[7] ML, Modula-3, Object Pascal,[8] Rust, VB | |
Influenced | |
Chapel,[9], Clojure,[10] Crystal,[11] D, J#, Dart,[12] F#, Hack, Java,[13][14] Kotlin, Monkey, Nemerle, Oxygene, Ring,[15] Rust, Swift,[16] Vala, TypeScript | |
|
Amezruy
Akk d C#, Microsoft tebɣa ad tesnulfu tameslayt n programmation tugar Java n Oracle, di 1999 teffeɣ-d version tamezwarut n C#, version-agi tella tettcabi s waṭas ɣer Java.
Di les versions nniḍen, C# yettembeddal u yerna aṭas les fonctionnalités i ixuṣṣen di Java am :
- Lambda expressions,
- Generics,
- Automatic Get Set,
- Async await,
- Extension Methods,
.Net
C# d tutlayt teddu g lFramework .Net, llant 3 les versions n .Net :
- .Net Framework : sɣur Microsoft, wagi mači d ilelli.
- .Net Mono : sɣur Novel, d ilelli.
- .Net Core : sɣur Microsoft, d ilelli.
Akken yiwen ad yeprogrami mebla ad yessen lFramework gar 3 les Framework-agi, Microsoft teffeɣ-d .Net Standard.
Hello world
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
}
}
Tiwelhiwin
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.