Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using System.Text;
- namespace CaesarCipher
- {
- class Program
- {
- static void Main()
- {
- string text = Console.ReadLine();
- var encripted = Encoding.ASCII.GetBytes(text)
- .Select(x => (char)(x + 3));
- Console.WriteLine($"{string.Join("", encripted)}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement