标签:
public static void Test1() { double[][] arr = new double[2][]; arr[0] = new double[2]; arr[1] = new double[2]; arr[0][0] = 666; //for (int i = 0; i < 2; i++) //{ // for (int j = 0; j < 2; j++) // { // arr[i, j] = i*2+j; // } //} Array array = arr; unsafe { var str = Newtonsoft.Json.JsonConvert.SerializeObject(array); double[,] arr2 = Newtonsoft.Json.JsonConvert.DeserializeObject<double[,]>(str); MyOGRE.GenerateQuasiRandomNumber(2, 3, ref arr2); } // // MyOGRE.MyOGREHello(); // double d = 1.051341234; //var dd= MyOGRE.GenerateInverseRandomNumber(d); }
标签:
原文地址:http://www.cnblogs.com/kexb/p/5545315.html