public ConcurrentCalculation(string inputPath, string outputPath, int t1, int t2, InputOutputProvider provider ) { _concurrentInputFile = new ConcurrentFile(inputPath); _concurrentOutputFile = new ConcurrentFile(outputPath); _provider = provider ?? throw new ArgumentNullException(nameof(provider)); _t1 = t1; _t2 = t2; File.WriteAllText(outputPath, String.Empty); }