 
<translate> Don a amsa wannan tambayar, ya kamata mu san cewa: An san Ocean City da zama wurin hutu na bakin teku na iyali, an haramta sayar da giya a cikinta tun lokacin da aka kafa ta a shekara ta 1879, tana da rairayin bakin teku masu tsawon mil da yawa da ake tsare da su, da kuma hanyar da ke da nisan mil huɗu, da kuma cibiyar kasuwanci da wuraren cin abinci. Amsar ita ce mil 2.5. <eng> To answer this question, we should know that: Known as a family-oriented seaside resort, Ocean City has prohibited the sale of alcoholic beverages within its limits since its founding in 1879, offering miles of guarded beaches, a boardwalk that stretches for 2.5 miles (4.0 km), and a downtown shopping and dining district. So, the answer is 2.5 miles. 