Car rental is quite expensive, and, with congested traffic and parking problems, is not a good choice within the city, though you may wish to use a car to explore places in the environs (see Day Trips from Dublin on pages 66 78).
Taxis are the best way to travel within the city.