A contract may be construed either before or after there has been a breach thereof.
N.D.C.C. § 32-23-03