(a) Violations of any section of this Code shall be tried upon citation as described in section 1-10 or upon accusation and may be tried with or without a prosecuting attorney. The county attorney, or an attorney who is a member of the state bar in good standing as designated by the board of county commissioners, shall serve as the prosecuting attorney. (b) Violations of this Code shall be tried in the magistrate court or state court of the county. (c) Each violation of this Code shall constitute a separate offense.