Facebook
From Scorching Sloth, 5 Years ago, written in C#.
This paste is a reply to Untitled from Reliable Owl - view diff
Embed
Download Paste or View Raw
Hits: 377
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.IO;
  6.  
  7. namespace Szyfry
  8. {
  9.     class Program
  10.     {
  11.         static public int klucz = 16;
  12.         static void Main()
  13.         {
  14.             string text = "Ala ma kota";
  15.  
  16.             foreach (char c in text) {
  17.  
  18.                 int unicode = c;
  19.                 unicode = unicode - 16;
  20.                 Console.WriteLine((char)unicode);
  21.             }
  22.             Console.ReadKey();
  23.  
  24.         }
  25.     }
  26. }