public void initRandom() { Random r = new Random(); nodes = Enumerable.Range(0, 90) .Select(i => SomeNode.initRandom(r)).ToArray(); myObjectMemeber = "Huge val"; }
public static SomeNode initRandom(Random r) { SomeNode res = new SomeNode(); res.data = new byte[1024 * 1024]; r.NextBytes(res.data); return(res); }