using System; public class Bar where U : EventArgs { internal void OnWorldDestroyed () { } } public class Baz where U : Bar { public void DestroyWorld (U bar) { bar.OnWorldDestroyed (); } } public class Bling { public static void Main () { } }