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) { Dictionary
ages = new Dictionary
(); ages.Add("Liam", 32); ages.Add("Jenny", 28); ages.Add("Angie", 45); foreach (KeyValuePair
person in ages) { Console.WriteLine(person.Key + " is " + person.Value + " years old"); } } } }
Liam is 32 years old
Jenny is 28 years old
Angie is 45 years old