first try
This commit is contained in:
20
Utils/OutputHelper.cs
Normal file
20
Utils/OutputHelper.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using su.divan2000.SalaryApp.Models;
|
||||
|
||||
namespace su.divan2000.SalaryApp.Utils
|
||||
{
|
||||
public static class OutputHelper
|
||||
{
|
||||
public static void PrintSalaryData(SalaryData data)
|
||||
{
|
||||
Console.WriteLine("\n=== Результат ===");
|
||||
Console.WriteLine(data);
|
||||
}
|
||||
|
||||
public static void WaitForKey(string message = "Нажмите любую клавишу, чтобы продолжить...")
|
||||
{
|
||||
Console.WriteLine(message);
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user