i want to check if the user inputs a same string twice using array. don't have any idea on what codes to use can you suggest anything?
if the user inputs "1A" twice i want to print "Already Taken", and if the user enter a string which is not in my Array(arr) i want to print "invalid input"
this is my array
string[,] arr = new string[,]
{
{"1A","2A","3A","4A","5A"},
{"1B","2B","3B","4B","5B"},
{"1C","2C","3C","4C","5C"},
{"1D","2D","3D","4D","5D"},
};