Update rot-13.cs
The code did not work as 'message' did not exist.
This commit is contained in:
parent
35bcdeebf8
commit
bc9e8596f1
1 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue