I'm stuck. Where can I add "Trim" to this C# statement? Each line will be a separate file name. But because each file may have space after it, I'd like to trim it off.
string[] lines = (File.ReadAllLines(@"C:\Users\Jim\Desktop\adminkeys.cfg")); Thanks
(File.ReadAllLines(@"C:\Users\Jim\Desktop\adminkeys.cfg")).Select(s=> s.Trim());