Thanks so much. For some reason I kept seeing that HDMI can only support up to 1920x1080, seems I was wrong...It's possible to output displayport via USB-C, but not all USB-C ports support displayport output, so make sure yours does. This mainly comes in handy with computers such as Apple laptops that focus on looks over features and obsessively try to only have as few ports on the laptop as possible.
If your laptop actually has an HDMI port, it would probably be better to just use that in most cases. You are unlikely to be limited in terms of resolution by using HDMI unless it's a really old laptop or you are going for a ridiculously high resolution. The Dell you mentioned only does 2560x1440 at 60Hz, which would be trivial for HDMI.