Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; using System.Collections.Generic; using System.Linq; namespace MyApplication { class Program { static void Main(string[] args) { List
scores = new List
{ 45, 80, 62, 30, 95 }; var result = scores.Where(s => s >= 50).OrderBy(s => s); Console.WriteLine(string.Join(", ", result)); // 62, 80, 95 } } }
62, 80, 95