public static class RandomEx { /* // NextBytes work fine public static void FillBytes( this Random rnd, ref byte[] buffer ) { rnd.NextBytes() for( int i = 0; i < buffer.Length; ++i ) { } */ }