The String.Join() method accepts an IEnumerable, so you don't need to call ToArray().