C Sharp

Si Wikipedia, tasanayt tilellit.
Jump to navigation Jump to search

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 aṭas i 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!");
    }
}