I’m building shelves and need some lumber that I can paint and that will look nice. What grade do I need?

I recommend an appearance- or finish-grade lumber in a prime finish.