The board shall have authority, whenever they deem it advisable or necessary, to sell any property belonging to the county at public outcry to the highest bidder for cash before the courthouse door, or at private sale to the highest bidder for cash, as in their discretion they deem to be to the best interest of the county. Personal property belonging to the county may be sold after publishing notice of the sale in the official gazette of the county for one week prior to such sale; provided, that in no event shall a commissioner buy from, or sell to the county, either directly or indirectly, anything or article of value whatsoever. Should any member of the board violate the foregoing provision, he shall forthwith forfeit his right to serve as a member of the board and shall be liable for punishment as for a misdemeanor.