2 using System.Collections.Generic;
4 internal delegate void EmptyDelegate ();
8 public static int Main ()
11 Query <BaseObject> (out i);
15 static void Closure (EmptyDelegate x)
19 static List<T> Query<T> (out int? count) where T : BaseObject
22 List<T> results = new List<T> ();
24 results.Add (MakeSomething<T> ());
29 static T MakeSomething<T> () where T : BaseObject