C Sharp (harshe na shirye-shirye) C# yare ne na shirye-shirye mai mahimmanci wanda ke tallafawa tsarin da yawa. C # ya ƙunshi rubutun rubutu na tsaye, : rubutun rubutu mai ƙarfi, mai mahimmanci, mai bayyanawa, mai aiki, gama gari, : 22 da aka tsara (tushen aji), da kuma tsarin shirye-shiryen da aka tsara.[1] [2][3]

C Sharp (programming language
multi-paradigm programming language (en) Fassara, class-based programming language (en) Fassara, high-level programming language (en) Fassara, strict programming language (en) Fassara, event-driven programming language (en) Fassara, imperative programming language (en) Fassara, functional programming language (en) Fassara da generic programming language (en) Fassara
Bayanai
Bangare na .NET Framework (mul) Fassara da .NET (mul) Fassara
Farawa 2001
Suna saboda C♯ (en) Fassara da C++ (mul) Fassara
Akwai nau'insa ko fassara C# 2.0 (en) Fassara, C# 3.0 (en) Fassara da C# 4.0 (en) Fassara
Mai haɓakawa Microsoft (mul) Fassara
Designed by (en) Fassara Microsoft (mul) Fassara, Anders Hejlsberg (en) Fassara da Mads Torgersen (en) Fassara
Source code repository URL (en) Fassara https://github.com/dotnet/csharplang da https://github.com/dotnet/roslyn
Issue tracker URL (en) Fassara https://github.com/dotnet/csharplang/issues
Software version identifier (en) Fassara 12.0, 7.3, 8.0, 9.0, 10.0 da 11.0
Shafin yanar gizo docs.microsoft.com…, docs.microsoft.com…, docs.microsoft.com…, docs.microsoft.com… da docs.microsoft.com…
Typing discipline (en) Fassara nominative typing (en) Fassara, inference typing (en) Fassara da dynamic typing (en) Fassara
File extension (en) Fassara cs da csx

Anders Hejlsberg ne ya tsara harshen shirye-shiryen C # daga Microsoft a cikin 2000 kuma daga baya Ecma (ECMA-334) ya amince da shi a matsayin ma'auni na kasa da kasa a cikin 2002 da ISO / IEC (ISO / IEC 23270 da 20619 ) a cikin 2003. Microsoft ta gabatar da C # tare da .NET Framework da Visual Studio, dukansu biyu sun kasance rufe-source. A lokacin, Microsoft ba ta da samfuran budewa. Shekaru huɗu bayan haka, a cikin shekara ta 2004, an fara aikin kyauta da budewa da ake kira Mono, yana ba da mai tarawa dandamali da Yanayin gudu don harshen shirye-shiryen C # . Shekaru goma bayan haka, Microsoft ta fitar da Visual Studio Code (editan lambar), Roslyn (mai tarawa), da kuma hadin kai.Dandalin NET (tsarin software), dukansu suna tallafawa C # kuma suna da kyauta, bude-source, da kuma giciye-dandalin. Mono kuma ya shiga Microsoft amma ba a haɗa shi ba.NET.

Naga watan Nuwanba a shekara 2023 C# ya shaharan sosai, wadda yake da girman 12.0 kuma a sake a shekarar 2023 a NET[4][5]

Manufofin ƙira

gyara sashe

Matsayin Ecma ya lissafa waɗannan manufofi na ƙira don C #: Harshen an yi niyyar zama mai sauƙi, na zamani, na gaba ɗaya, harshe na shirye-shirye na abu. [6]

Harshen, da aiwatarwa, ya kamata su samar da tallafi ga ka'idodin injiniyan software kamar bincike mai ƙarfi, Binciken iyakoki tsararru, : ganowar 58-59 na ƙoƙarin amfani da masu canji marasa farawa, da Tattara shara ta atomatik. ::563 Ƙarfin Software, dorewa, da ƙwarewar mai tsarawa suna da mahimmanci. An yi amfani da harshe don amfani a cikin haɓaka kayan aikin software da suka dace da turawa a cikin yanayin da aka rarraba. Portability yana da mahimmanC ga lambar tushe da masu shirye-shirye, musamman wadanda suka riga sun saba da C da C ++. Taimako ga kasa da kasa ::314 yana da matukar muhimmanci.[20] C # an yi niyyar ya dace da rubuce-rubuce don tsarin da aka shirya da kuma Tsarin da aka saka, daga manyan da ke amfani da tsarin aiki mai mahimmanci, har zuwa ƙananan da ke da ayyuka masu sadaukarwa. Kodayake aikace-aikacen C # an yi niyyar zama na tattalin arziki dangane da ƙwaƙwalwar ajiya da buƙatun ikon sarrafawa, ba a yi niyyar yin gasa kai tsaye akan aikin da girman tare da C ko harshen taro ba. [7] [8]

A lokacin ci gaban .NET Framework, an rubuta ɗakunan karatu na aji ta amfani da tsarin mai tara lambar da ake kira Simple Managed C (SMC). A watan Janairun 1999, Anders Hejlsberg ya kafa wata kungiya don gina sabon harshe a lokacin da ake kira Cool, wanda ke tsaye don "C-like Object Oriented Language". Microsoft ta yi la'akari da adana sunan "Cool" a matsayin sunan karshe na yaren, amma ta zaɓi kada ta yi hakan saboda dalilai na alamar kasuwanci. A lokacin da .An sanar da aikin NET a fili a taron masu haɓaka ƙwararru na Yuli 2000, an sake sunan harshen C #, da ɗakunan karatu na aji da ASP.An canza lokacin gudanarwar NET zuwa C#.[9][10][11]

  1. Skeet 2019.
  2. Skeet 2019.
  3. C# Language Specification (PDF) (4th ed.). Ecma International. June 2006. Archived (PDF) from the original on April 21, 2021. Retrieved January 26, 2012.
  4. ^ Dollard, Kathleen (November 14, 2023). "Announcing C# 12". .NET Blog. Archived from the original on November 18, 2023. Retrieved November 18, 2023.
  5. Seth, Gaurav (November 14, 2023). "Announcing .NET 8". .NET Blog. Archived from the original on November 19, 2023. Retrieved November 18, 2023.
  6. C# Language Specification (PDF) (4th ed.). Ecma International. June 2006. Archived (PDF) from the original on April 21, 2021. Retrieved January 26, 2012.
  7. ^ Jump up to: a b c d e f Albahari 2022
  8. sign Goals of C#". www.java-samples.com. Archived from the original on October 6, 2021. Retrieved October 6, 2021.
  9. Zander, Jason (November 22, 2007). "Couple of Historical Facts". Archived from the original on July 29, 2020. Retrieved February 23, 2009.
  10. "What language was ASP.Net originally written in?". November 28, 2006. Archived from the original on June 24, 2016. Retrieved February 21, 2008.
  11. Hamilton, Naomi (October 1, 2008). "The A-Z of Programming Languages: C#". Computerworld. Archived from the original on May 18, 2019. Retrieved October 1, 2008.