public static Road CreateRandomRoad(this Road road, int min, int max) { road.Number = "M" + rnd.Next(1, 100); road.Lenght = rnd.Next(min, max); return(road); }