One leg of a 45°-45°-90° triangle measures 9sqrt2 inches. What is the length of the hypotenuse?

A. 18 inches
B. 9sqrt2 inches
C. 9sqrt3 inches
D. 9 inches