Interchangeability of Integral Type Arrays
In .NET, an array of a simple integral type can be cast to an array of another integral type, provided they have the same element size. This is possible because the CLR treats these arrays as having a compatible memory layout. int[] arrayOfInts = new...
Oct 21, 20151 min read