public Task <int> RowsInAnketa(string FileName) { return(Task.Run <int>(() => { MaxRows = Reader.CountLinesInFile(FileName); return MaxRows; })); }