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; namespace MyApplication { class Program { static void Main(string[] args) { int[] numbers = {1, 2, 2, 3, 4, 4, 5}; HashSet
unique = new HashSet
(numbers); foreach (int num in unique) { Console.WriteLine(num); } } } }
1
2
3
4
5