Loading workspace environment...
Get started with C# syntax, structure, and writing your first program.
// C# 12 Online Syntax Workspace
using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
{
Console.WriteLine("=== C# .NET Language Overview ===");
var scores = new List<int> { 85, 92, 78, 95, 88 };
var topScores = scores.Where(s => s >= 90);
Console.WriteLine($"Top Scores (>=90): {string.Join(", ", topScores)}");
}
}