I was wondering whether there\'s a way in a \"for\" loop to assign a value to a string variable named according to its index number?
let\'s say I have 3 string varia
can you use an array? or list type?
string[] messages = new string[3]; for (int i = 1; i <=3; i++) { messages[i] = "blabla" + i.ToString(); }