Explicitly cast the reference to the type _Application:

((_Application)wordApplication).Quit();