C# क्या है?
In this page:
What is C#?
C# ("C sharp" उच्चारित) एक modern, object-oriented programming language है जिसे Microsoft ने बनाया, Anders Hejlsberg के नेतृत्व में, और पहली बार 2000 में .NET platform की flagship language के रूप में release किया गया।
यह C++ जैसी languages के performance और type safety को Java से प्रभावित एक ज़्यादा सुलभ, productive syntax के साथ combine करती है। C# का उपयोग web development (ASP.NET), desktop applications (WPF, WinForms), game development (Unity), और enterprise backend systems में होता है।
उदाहरण: What is C#?
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
Login to try C/C++/Java/PHP code in the editor
- यह सोचना कि C# सिर्फ Windows पर चलता है, जबकि modern .NET Windows, macOS और Linux पर चलता है।
- C# (language) को .NET (platform और libraries) के साथ confuse करना, जिससे syntax सीखना framework जानने के बराबर समझ लिया जाता है।
- यह मान लेना कि C# सीधे machine code में compile होता है, जबकि यह पहले IL में compile होता है और फिर .NET runtime द्वारा चलाया जाता है।
Chapter Quiz — Complete all 7 topics to unlock
0/7 topics done
Complete these topics first: