private TestTarget2 InitlizeTestTarget2() { int i0 = rnd.Next() % 100; int i1 = rnd.Next() % 8; int i2 = rnd.Next() % 8; var t = new TestTarget2(); t.Id = i0; t.Name = string.Format("{0} {1}", EFirstName[i1], ELastName[i2]); t.Description = string.Format("{1}{0}", CFirstName[i1], CLastName[i2]); return t; }
private TestTarget2 InitlizeTestTarget2() { int i0 = rnd.Next() % 100; int i1 = rnd.Next() % 8; int i2 = rnd.Next() % 8; var t = new TestTarget2(); t.Id = i0; t.Name = string.Format("{0} {1}", EFirstName[i1], ELastName[i2]); t.Description = string.Format("{1}{0}", CFirstName[i1], CLastName[i2]); return(t); }