Galera eu preciso criar uma tela de Loading com carregamento, eu consegui faze um loadingbar mas eu queria fazer com que o carregamento dela fosse sempre aleatorio com Randoom, aguem poderia me ajudar ?
codig:
- 
Console.CursorVisible = false;
- 
Console.SetCursorPosition(13, 15);
- 
Random randomBar = new Random();
- 
randomBar.Next(1, 51);
- 
for (int i = 0; i <= 50; i++)
- 
{
- 
for (int y = 0; y < i; y++)
- 
{
- 
Console.ForegroundColor = ConsoleColor.Green;
- 
Console.Write("█");
- 
}
- 
Console.ForegroundColor = ConsoleColor.DarkGray;
- 
Console.Write(i + "/50");
- 
Console.SetCursorPosition(13, 15);
- 
System.Threading.Thread.Sleep(200);