Print out a message letter by letter using a for loop to move through a string, and Thread.Sleep() to pause after each character is written to the console window.
using System;
namespace TypewriterEffect
{
class Program
{
static void Main()
{
Typewrite("Your text here...");
Console.ReadKey();
}
static void Typewrite(string message)
{
for (int i = 0; i < message.Length; i++)
{
Console.Write(message[i]);
System.Threading.Thread.Sleep(60);
}
}
}
}
