diff --git a/Task/Rot-13/C-sharp/rot-13.cs b/Task/Rot-13/C-sharp/rot-13.cs index 1e8770663f..c7ccc85ced 100644 --- a/Task/Rot-13/C-sharp/rot-13.cs +++ b/Task/Rot-13/C-sharp/rot-13.cs @@ -14,8 +14,7 @@ class Program { }; } - static string Rot13(string s) - => new string(message.Select(c => shift(c)).ToArray()); + static string Rot13(string s) => new string(s.Select(c => shift(c)).ToArray()); static void Main(string[] args) {