Maybe I asked this is a bad way so let me try to explain.
I have a public static string[]
public static string[] MyInfo {get;set;}
I set this via
MyInfo = File.ReadAllLines(@"C:\myfile.txt");
What I want to do is a foreach on each of those lines and modify it based on x number of rules. One the line has been modified change that exisiting line in MyInFo
so
foreach(string myI in MyInfo)
{
string modifiedLine = formatLineHere(myI);
//return this to MyInfo somehow.
}