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; namespace MyApplication { class Program { static void PrintAll
(T[] items) { foreach (T item in items) { Console.WriteLine(item); } } static void Main(string[] args) { int[] numbers = {1, 2, 3}; string[] cars = {"Volvo", "BMW", "Ford"}; PrintAll(numbers); PrintAll(cars); } } }
1
2
3
Volvo
BMW
Ford