How would I be able to check that the array game
is in equal order to the sorted array of positions
?
The array should be in the order:
2A, 2B, 2C, 0, 1A, 1B, 1C
for the user to be successful
public static void Maincode()
{
string[] game = { "1A", "1B", "1C", "0", "2A", "2B", "2C" };
string[] positions = new string[]
{
"2A",
"2B",
"2C",
"0",
"1A",
"1B",
"1C",
};
// other code
}