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
Stanislav Mykhailenko 3f6406ab69
Add Lesson 4 Task 4
2023-04-09 21:20:58 +03:00

18 lines
356 B
C#

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?");
}
}
}