7th gen cpu on a 6th gen motherboard?

sgtyoloswag96

Prominent
Dec 13, 2017
5
0
510
So i currently have an i3-7100 which is 7th gen and a msi H110 PRO-VH which is an 6th gen board. Works just fine. Does that mean that i can upgrade to a 7th gen i5 and work just like the i3?