We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a79610 commit 4bb681bCopy full SHA for 4bb681b
DataStructures/Common/PrimesList.cs
@@ -218,7 +218,7 @@ private static string[] _readResource(string resourceName)
218
{
219
using (var stream = typeof(PrimesList).GetTypeInfo().Assembly.GetManifestResourceStream(resourceName))
220
using (var reader = new StreamReader(stream ?? throw new InvalidOperationException("Failed to read resource"), Encoding.UTF8))
221
- return reader.ReadToEnd().Split("\r\n");
+ return reader.ReadToEnd().Split("\r");
222
}
223
catch (Exception ex)
224
0 commit comments