using System;
public class Program
{
public static void Main()
AppleBasket appleBasket = new AppleBasket();
Console.WriteLine(appleBasket is IBasket<Fruit>);
}
class Fruit { }
class Apple : Fruit { }
interface IBasket<out T> { }
class FruitBasket : IBasket<Fruit> { }
class AppleBasket : IBasket<Apple> { }