3 Topics
|
|
can anyone help me regarding this??..i have here the code to get the new last record after deleting the last record...but i encountered an error saying... "An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll Additional information: locid, make sure data column names are correct, ,make sure the index is … |
|
public static void Main (string[] args) { int row; int column; int[,] game; game = new int[3, 3] { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } }; Console.WriteLine("Player 1's turn."); Console.Write("Enter row [1, 2 or 3]: "); row = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter column … |
|
i want to get the index of array which causes indexOutOfRangeException . |
The End.