Mode:
Duration:
1
2
3
4
5
6
7
8
9
using System;
class Program {
static void Main() {
string name = "Alice";
int age = 25;
Console.WriteLine($"{name} is {age} years old");
}
}Coding works best on desktop or with an external keyboard.
using System;
class Program {
static void Main() {
string name = "Alice";
int age = 25;
Console.WriteLine($"{name} is {age} years old");
}
}Coding works best on desktop or with an external keyboard.
Demonstrates using string interpolation to embed expressions inside strings.
using System;
class Program {
static void Main() {
string name = "Alice";
int age = 25;
Console.WriteLine($"{name} is {age} years old");
}
}C# (C-Sharp) is a modern, object-oriented, multi-paradigm programming language built by Microsoft for the .NET platform. It is designed for productivity, type safety, performance, and building scalable applications across desktop, web, mobile, gaming, and cloud systems.
Origin & Creator
Created by Anders Hejlsberg at Microsoft in 2000 as part of the .NET platform. Evolved significantly with versions introducing LINQ, async/await, records, pattern matching, and high-performance features in modern .NET.
Industrial Note
C# dominates Windows development, enterprise CRM/ERP systems, Unity-powered games, Azure cloud apps, and scalable backend systems. It is widely chosen for large corporate software ecosystems, cloud-native microservices, and cross-platform applications through .NET Core.