View Single Post
Old 08-17-2012, 08:31 PM   PM User | #2
alykins
Senior Coder

 
alykins's Avatar
 
Join Date: Apr 2011
Posts: 1,608
Thanks: 37
Thanked 183 Times in 182 Posts
alykins will become famous soon enough
Code:
foreach(String s in VariableS)
{
  VariablesList.Add(s);
}
Should be something very close to that... could also do a for loop...
Code:
for(int i = 0; i < VariableS.Length; i++)
{
  VariablesList.Add(VariableS[i]);
}
__________________

I code C hash-tag .Net
Reference: W3C W3CWiki .Net Lib
Validate: html CSS
Debug: Chrome FireFox IE
alykins is offline   Reply With Quote