string[] fruits = new string[9];
float[] prices = new float[9];
string input = "orange";
for (int i = 0; i < fruits.Length; i++)
{
if(input == fruits[i])
{
Was auch immer du dann machen willst
}
}
sorry lies im kommentar
↧