Blog

Seleccione el resultado del siguiente código:

using ConsoleApp4;

using System;

namespace ConsoleApp4 {
interface Area {}
class Tree {}
class DateTree : Tree, Area {}
class OakTree : Tree, Area {}
}

class Program {
static void Main(string[] args) {
Area area = new DateTree();
Console.WriteLine(typeof(Tree).IsInstanceOfType(area));
}
}