Guest User

Untitled

a guest
May 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.79 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Hello_World
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.  
  10.             string teksti = "Hei muailma, miten mänee?";
  11.             Console.WriteLine("#######################################");
  12.             Console.WriteLine("#                                     #");
  13.             Console.WriteLine("#          Racletech 2012             #");
  14.             Console.WriteLine("#                                     #");
  15.             Console.WriteLine("#######################################\n\n");
  16.             for (int i = 0; i <= teksti.Length-1; i++)
  17.             {
  18.  
  19.                 Console.Write(teksti.Substring(i, 1));
  20.                 System.Threading.Thread.Sleep(100);
  21.             }
  22.             Console.ReadKey();
  23.         }
  24.     }
  25. }
Add Comment
Please, Sign In to add comment