This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Stanislav_Mykhailenko/Lesson_4/Task_3/Classes/User.cs

29 lines
625 B
C#
Raw Normal View History

2023-04-11 15:58:20 +00:00
using LiskovSubstitution.Interfaces;
namespace LiskovSubstitution.Classes
{
public class User : IUser
{
public string ReadFromFile(string filename)
{
return filename;
}
public void DownloadFile(string filename)
{
Console.WriteLine("Downloaded the file.");
}
public void GetDataFromFile(string filename)
{
Console.WriteLine("Got data from the file.");
}
public void CheckFile(string filename)
{
Console.WriteLine("Checked the file.");
}
}
}