State and prove gauss theorem in electrostatics.?

State and prove gauss theorem in electrostatics.