Which is the hard material castiron or mild steel?

Cast iron