A casing has casing parts and fastening elements, wherein the casing parts are connected to one another by the fastening elements. The fastening elements are located inside the casing so that the exterior of the casing is free of projections and recesses. A first one of the casing parts has through openings into which the fastening elements are inserted, and a second one of the casing parts has threaded bores for receiving the fastening elements.