2 using System
.Collections
.Generic
;
3 using System
.Reflection
;
7 public class ObjectContainer
<T
> where T
: class, new () {}
8 public class DocumentObject
: ObjectContainer
<DomainObject
> {}
9 public class DomainObject
: ObjectContainer
<DomainObject
> {}
14 static int Main (string[] args
)
16 Type
[] ts
= typeof(Program
).Assembly
.GetTypes ();
18 foreach (Type t
in ts
)
19 Console
.WriteLine (t
);