A surety has all the rights of a guarantor whether the surety becomes personally responsible or not.
N.D.C.C. § 22-03-07