2 using System
.Reflection
;
6 public const bool a
= true;
7 public const byte b
= 1;
8 public const sbyte c
= 2;
9 public const sbyte cc
= -3;
10 public const sbyte ccc
= 0;
11 public const char d
= 'a';
12 public const short e
= 4;
13 public const short ee
= -5;
14 public const short eee
= 0;
15 public const ushort f
= 6;
16 public const int g
= 7;
17 public const int gg
= -8;
18 public const int ggg
= 0;
19 public const uint h
= 9;
20 public const long i
= 10;
21 public const long ii
= -11;
22 public const long iii
= 0;
23 public const ulong j
= 12;
24 public const double k
= 13.0;
25 public const double kk
= -14.0;
26 public const double kkk
= 0;
27 public const float l
= 15;
28 public const float ll
= -16;
29 public const float lll
= 0;
30 public const string m
= "la la la";
31 public const string n
= null;
63 static void X (string n
, object o
)
65 if (! Object
.Equals (typeof (T
).GetField (n
).GetValue (null), o
))
66 throw new Exception (n
);