Итак, как я могу запустить несколько задач одновременно, используя в качестве ввода текстовый файл.
Загрузка исходных данных
var lines = File.ReadAllLines("file.txt")
Выполнить задачи
forearch(var line in lines)
{
//I want to execute 3 tasks and each task needs to receive a line. At the end of each task he should pick up another line that has not been used and continue to the end of the file.
}