1. Public officers may resign their offices as follows: a. The governor, lieutenant-governor, comptroller and attorney-general, to the legislature; b. All officers appointed by the governor alone, or by him with the consent of the senate, to the governor; c. Senators and members of assembly, to the presiding officers of their respective houses; d. Judges and justices of the unified court system, to the chief administrator of the courts; e. Sheriffs, county clerks, district attorneys and registers