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 c6adca9 commit a4c136eCopy full SHA for a4c136e
DataStructures/Common/PrimesList.cs
@@ -225,7 +225,7 @@ private static string[] _readResource(string resourceName)
225
{
226
using (var stream = typeof(PrimesList).GetTypeInfo().Assembly.GetManifestResourceStream(resourceName))
227
using (var reader = new StreamReader(stream ?? throw new InvalidOperationException("Failed to read resource"), Encoding.UTF8))
228
- return reader.ReadToEnd().Split("\r\n");
+ return reader.ReadToEnd().Split("\n");
229
}
230
catch (Exception ex)
231
0 commit comments