using System;
using System.Collections.Generic;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main()
{
Dictionary<string, int> dir = new Dictionary<string, int>()
{
{ "c#", 98 }, { "c++", 99 }, { "php", 100 }
};
foreach (KeyValuePair<string, int> kv in dir) {
Console.WriteLine($"{kv.Key} : {kv.Value}");
}
}
}
}
/*
run:
c# : 98
c++ : 99
php : 100
*/