static void Populate(IBackend backend, int numUsers) { var rnd = new Random(123); for (int i = 0; i < numUsers; i++) { backend.AddUser(Convert.ToSingle(50 + 10 * rnd.NextDouble()), Convert.ToSingle(5 + 10 * rnd.NextDouble())); } }