[DatFile] Make call to Keys automatically do .ToList()

This commit is contained in:
Matt Nadareski
2017-10-30 21:15:37 -07:00
parent 0fa2a1a7e2
commit b2538502e6
15 changed files with 52 additions and 49 deletions

View File

@@ -1199,7 +1199,7 @@ namespace SabreTools.Library.DatFiles
string lastgame = null;
// Get a properly sorted set of keys
List<string> keys = Keys.ToList();
List<string> keys = Keys;
keys.Sort(new NaturalComparer());
foreach (string key in keys)