Investing in exurbs, suburbs (gas prices)

To the experienced people on here, will you still invest in far flung areas, knowing that gas prices will probably continue to go up, or more in the urban core? Or do you base it more on the individual properties?

I suggest investing close to home, whether that’s in a rural area or an urban area.

Mike