public static void Main() { // Your code here! Console.Write("nを代入してください"); int n = int.Parse(Console.ReadLine()); Console.Write("mを代入してください"); int m = int.Parse(Console.ReadLine()); BingoCard A = new BingoCard(); Console.WriteLine("---------宿題2-1---------"); var bingo = A.ReturnCard(n, m); for (int i = 0; i < bingo.Length; i++) { for (int j = 0; j < bingo[i].Length; j++) { Console.Write("|" + bingo[i][j]); } Console.WriteLine("|"); } Console.WriteLine("---------宿題2-4---------"); Console.WriteLine(A.BingoAve(3, 5, 10000)); Console.WriteLine("---------宿題2-5---------"); A.Graph(); }