All contracts, whether public or private, are to be interpreted by the same rules, except as otherwise provided by this Code.

(Enacted 1872.)