public void RecoveredAndDeathsStatistics(object source, RecoveredAndDeathsStatisiticsEventArgs args) { lock (path) { using (StreamWriter sw = File.AppendText(path)) { sw.WriteLine(args.ToString()); } } }
public void TotalDeathAndRecoveredOutput(object source, RecoveredAndDeathsStatisiticsEventArgs args) { Console.WriteLine(args.ToString()); }