C# animated console title

C# animated console title

@csharp_1001_notes
static void Main(string[] args)
{
  string Progresbar = "This is animated title of Console";
  var title = "";
  while (true)
  {
    for (int i = 0; i < Progresbar.Length; i++)
    {
      title += Progresbar[i];
      Console.Title = title;
      Thread.Sleep(100);
    }
    title = "";
  }
}

Report Page