static void Main(string[] args) { const int noOfCrawlers = 8; Crawl c = new Crawl(); for (int i = 0; i < noOfCrawlers; i++) { var i1 = i; Task.Run(() => { if (i1 == 0) { c.Start(); } else { new Crawl().Start(); } }); } Console.ReadLine(); }
static void Main(string[] args) { Crawl c = new Crawl(); List<MusicData> data = c.crawlMusicData(Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)); //TODO Insert database upload }
static void Main(string[] args) { Crawl c = new Crawl(); List <MusicData> data = c.crawlMusicData(Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)); //TODO Insert database upload }