which one is the best way of doing the following and why?
string[] doubleArray = Regex
  .Split(strValue, @"[^0-9\.]+")
  .Where(c => c != "." && c.Trim() != "")
  .ToArray();  // here i have used toarray 
var doubleArray = Regex
  .Split(strValue, @"[^0-9\.]+")
  .Where(c => c != "." && c.Trim() != ""); // and here i have used var
.
 
     
    