Full support for primitives of D2 and primitive arrays
Special handling of reals, while there is no native support in C#