Try and park in a space where not too many people will park beside you. I lived in an apartment for four years and never got dinged since i didn't park so close to the building.
You need to realize that your car isn't indistructable, though, and the odds are that sooner or later you're probably going to take a couple dings, at least.
My GT got caught in a hail storm... screw the 4 years in an apartment--all it took was a couple minutes of mother nature's fury!