title: FileInfo Array From Strings
body: <p>Currently I am getting the size of a file by using:</p>
  
  <pre><code>FileInfo fileSize = new FileInfo(@"C:\file.txt");
  long size = fileSize.Length;
  </code></pre>
  
  <p>Rather than do this for every file I want, I thought you must be able to use an array and iterate through them so I used this:</p>
  
  <pre><code>FileInfo[] fileSizes = new FileInfo[2];
  fileSizes[0] = @"C:\file.txt";
  fileSizes[1] = @"C:\file.txt";
  </code></pre>
  
  <p>Now I keep getting the error "Cannot implicitly convert type 'string' to 'System.IO.FileInfo'". I tried using .ToString() but no dice, any help is very appreciated, thanks!</p>