diff --git a/src/Program.cs b/src/Program.cs index 6dd8bbe..4373915 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -12,15 +12,11 @@ if(!Directory.Exists(resourcePath)) { // pull file list var files = Directory.GetFiles(resourcePath, "*.txt"); -var prng = RandomNumberGenerator.Create(); - // choose a file and line var file = files[RandomNumberGenerator.GetInt32(files.Length)]; var lines = File.ReadAllLines(file); var line = lines[RandomNumberGenerator.GetInt32(lines.Length)]; -prng.Dispose(); - // process escape codes line = line.Replace("\\n", "\n");