Using Console.SetCursorPosition asynchronously
问题 To experiment with updating percentages of progress items in the console, I've made a small test console application: using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace ConsoleProgressTest { class Program { public class ConsoleItem { public string Item { get; set; } public int ConsoleLocLeft { get; set; } public int ConsoleLocTop { get; set; } } static void Main(string[] args) { List<string> tempList =