| 1 | using System; |
| 2 | using System.Runtime.InteropServices; |
| 3 | |
| 4 | class Foo { |
| 5 | Bar bar; |
| 6 | } |
| 7 | |
| 8 | class Bar { |
| 9 | volatile int oiseau; |
| 10 | } |
| 11 | |
| 12 | class Baz { |
| 13 | bool @bool; |
| 14 | char @char; |
| 15 | sbyte @sbyte; |
| 16 | byte @byte; |
| 17 | short int16; |
| 18 | ushort uint16; |
| 19 | int int32; |
| 20 | uint uint32; |
| 21 | long int64; |
| 22 | ulong uint64; |
| 23 | float single; |
| 24 | double @double; |
| 25 | string @string; |
| 26 | object @object; |
| 27 | } |
| 28 | |
| 29 | enum Pim { |
| 30 | Pam = 1, |
| 31 | Poum = 2, |
| 32 | } |
| 33 | |
| 34 | class PanPan { |
| 35 | |
| 36 | public const PanPan Peter = null; |
| 37 | public const string QQ = "qq"; |
| 38 | public const string nil = null; |
| 39 | public const object obj = null; |
| 40 | public const int [] ints = null; |
| 41 | } |