static void Main(string[] args) { BankLottery c = new BankLottery(); object o = c.expectedAmount(new int[] { 2, 2, 2 }, 1, 2); PrintObj(o); System.Console.In.ReadLine(); }