ReadAllText not ReadAllLines

This commit is contained in:
Matt Nadareski
2023-01-20 21:41:05 -08:00
parent f6298dfe89
commit 1fa19489a3
3 changed files with 3 additions and 2 deletions

View File

@@ -496,7 +496,7 @@ namespace MPF.Library
return BitConverter.ToString(bytes).Replace("-", string.Empty);
}
return string.Join("\n", File.ReadAllLines(filename));
return File.ReadAllText(filename);
}
/// <summary>