public static void Main()
string parrot = "Parrot";
Type parrotType = Type.GetType(parrot);
Type owlType = Type.GetType(owl);
var parrotObj = parrotType.CreateInstance(true) as Bird;
var owlObj = owlType.CreateInstance(true) as Bird;
Console.WriteLine(parrotObj);
Console.WriteLine(owlObj);
public abstract class Bird
public override string ToString() { return "Type: " + GetType().Name; }
public class Parrot : Bird