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_4/Vehicles/Plane.cs

19 lines
356 B
C#
Raw Permalink Normal View History

2023-04-09 18:20:58 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LiskovSubstitution.Interfaces;
namespace LiskovSubstitution.Vehicles
{
public class Plane : Vehicle, IFlyable
{
public virtual void Fly()
{
Console.WriteLine("It's flying?");
}
}
}