fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. Type t = typeof(Func<bool>);
  8. while (t != null)
  9. {
  10. Console.WriteLine(t.FullName);
  11. t = t.BaseType;
  12. }
  13. }
  14. }
Success #stdin #stdout 0.01s 29664KB
stdin
Standard input is empty
stdout
System.Func`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
System.MulticastDelegate
System.Delegate
System.Object