Update rot-13.cs

The code did not work as 'message' did not exist.
This commit is contained in:
Stan 2023-11-07 08:34:02 +01:00 committed by GitHub
parent 35bcdeebf8
commit bc9e8596f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {