2 using System
.Reflection
;
4 static class StaticClass
8 public static string Name ()
14 public class MainClass
16 public static int Main ()
18 Type type
= typeof (StaticClass
);
19 if (!type
.IsAbstract
|| !type
.IsSealed
) {
20 Console
.WriteLine ("Is not abstract sealed");
24 if (type
.GetConstructors ().Length
> 0) {
25 Console
.WriteLine ("Has constructor");
29 Console
.WriteLine (StaticClass
.Name ());