Fenrir112

%u0418%u0437%u0432%u0440%u0430%u0442

Dec 4th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.IO;
  6.  
  7. namespace Kolya1
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             FileInfo file = new FileInfo("TuringMachine.txt");
  14.             StreamReader reader = file.OpenText();
  15.             string s = reader.ReadToEnd();
  16.             reader.Close();
  17.             for (int i=0; i < s.Length; i++)
  18.             {
  19.                 Console.Write(s[i]);
  20.             }
  21.         }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment