public static ComplexStruct Generate() { return(new ComplexStruct() { Int = RandGen.GenerateInt(), One = ComplexClass.Generate() }); }
public static ComplexClass Generate() { ComplexClass tmp = new ComplexClass() { Int = RandGen.GenerateInt() }; tmp.One = tmp; return(tmp); }