Example #1
0
 static void Main(string[] args)
 {
     Combination<int, string> winningCombination = new Combination<int, string>(1, 2, 3, "a", "b", "c");
     Combination<int, string> newCombination = new Combination<int, string>(1, 2, 3, "a", "c", "b");
     LottoGame<int, string> obj = new LottoGame<int, string>(winningCombination);
     obj.UserCombination(newCombination);
     LottoResult<int, string> obj1 = new LottoResult<int, string>(winningCombination, newCombination);
 }
Example #2
0
        static void Main(string[] args)
        {
            Combination <int, string> winningCombination = new Combination <int, string>(1, 2, 3, "a", "b", "c");
            Combination <int, string> newCombination     = new Combination <int, string>(1, 2, 3, "a", "c", "b");
            LottoGame <int, string>   obj = new LottoGame <int, string>(winningCombination);

            obj.UserCombination(newCombination);
            LottoResult <int, string> obj1 = new LottoResult <int, string>(winningCombination, newCombination);
        }