521.07 FENCES.
   (a)   No person shall erect or maintain any fence charged with electrical current.
 
   (b)   No person shall erect or maintain a barbed wire fence which abuts or is adjacent to any public street or sidewalk. This subsection (b) does not prevent the placement and use of not more than three strands of barbed wire on top of a fence other than a barbed wire fence, provided such strands are not less than seventy-two inches from the ground.
 
   (c)   No person shall construct or cause to be constructed a partition fence from barbed wire unless written consent of the adjoining owner is first obtained. Such consent is not necessary to the use of one or two barbed wires, provided that neither is less than forty-eight inches from the ground, and is placed on the top of a fence other than a barbed wire fence.
 
   (d)   Whoever violates this section is guilty of a minor misdemeanor.