Exemple #1
0
        public static void Main()
        {
            var tuple = new BiDictionary <string, string, string>();

            tuple.Add("Pesho", "Peshov", "*****@*****.**");
            tuple.Add("Gosho", "Goshov", "*****@*****.**");
            tuple.Add("Tosho", "Toshov", "*****@*****.**");

            var pesho = tuple.FindByKey1("Pesho");

            Console.WriteLine(pesho);

            var gosho = tuple.FindByKey2("Goshov");

            Console.WriteLine(gosho);

            var tosho = tuple.FindByTwoKeys("Tosho", "Toshov");

            Console.WriteLine(tosho);
        }