C Sharp

Si Wikipedia, tasanayt tilellit.
Jump to navigation Jump to search
C#
C Sharp wordmark.svg
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; 16 ayyuren aya (2018-05-07)
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]
.NET Core CLR: MIT/X11[6]

Mono compiler: dual GPLv3 and MIT/X11

DotGNU: dual GPL and LGPL
Filename extension .cs
Website docs.microsoft.com/dotnet/csharp/language-reference/
Major implementations
Visual C#, .NET Framework, Mono, .NET Core, DotGNU (discontinued), Universal Windows Platform
Dialects
, Spec#, Polyphonic C#, Enhanced C#
Influenced by
C++,[7] , 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

C Sharp neɣ C# d tameslayt n usihel sɣur Microsoft. Designer n tameslayt-agi isem-is Anders Hejlsberg.

Amezruy[ẓreg | ẓreg aɣbalu]

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[ẓreg | ẓreg aɣbalu]

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[ẓreg | ẓreg aɣbalu]

using System;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Hello, world!");
    }
}

Tiwelhiwin[ẓreg | ẓreg aɣbalu]

  1. https://www.infoq.com/minibooks/emag-c-sharp-preview
  2. https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7-3
  3. "What's new in C# 8.0". Microsoft Docs. Microsoft. Retrieved 2019-04-13.
  4. Tuccḍa n temsisɣelt: Invalid <ref> tag; no text was provided for refs named dynamic
  5. https://github.com/dotnet/roslyn/blob/1ff27b046b5c03abb38bfeda44eb82da0b8df9de/License.txt
  6. https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT
  7. 7.0 7.1 Tuccḍa n temsisɣelt: Invalid <ref> tag; no text was provided for refs named influenced by CPP
  8. Tuccḍa n temsisɣelt: Invalid <ref> tag; no text was provided for refs named influenced by op
  9. "Chapel spec (Acknowlegements)" (PDF). Cray Inc. 2015-10-01. Retrieved 2016-01-14.
  10. "Rich Hickey Q&A by Michael Fogus". Archived from the original on 2017-01-11. Retrieved 2017-01-11. Cite uses deprecated parameter |dead-url= (help)
  11. Borenszweig, Ary. "Crystal 0.18.0 released!". It's heavily inspired by Ruby, and other languages (like C#, Go and Python).
  12. "Web Languages and VMs: Fast Code is Always in Fashion. (V8, Dart) - Google I/O 2013". Google. Retrieved 22 December 2013.
  13. Java 5.0 added several new language features (the enhanced for loop, autoboxing, varargs and annotations), after they were introduced in the similar (and competing) C# language [1] [2]
  14. Tuccḍa n temsisɣelt: Invalid <ref> tag; no text was provided for refs named influenced
  15. Ring Team (5 December 2017). "Ring programming language and other languages". ring-lang.net. ring-lang.
  16. Lattner, Chris (2014-06-03). "Chris Lattner's Homepage". Chris Lattner. Retrieved 2014-06-03. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, CLU, and far too many others to list.

Tuccḍa n temsisɣelt: <ref> tag defined in <references> has group attribute "" which does not appear in prior text.
Tuccḍa n temsisɣelt: <ref> tag defined in <references> has group attribute "" which does not appear in prior text.
Tuccḍa n temsisɣelt: <ref> tag defined in <references> has group attribute "" which does not appear in prior text.

Tuccḍa n temsisɣelt: <ref> tag defined in <references> has group attribute "" which does not appear in prior text.


Tuccḍa n temsisɣelt: <ref> tags exist for a group named "lower-alpha", but no corresponding <references group="lower-alpha"/> tag was found, or a closing </ref> is missing