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
You can also do it without the index:
string[] Messages = { "Tom", "Dick", "Harry" }; foreach (String Message in Messages) { Response.Write("Hello " + Message + ""); }