Question i5-6400 on a Z370-F Gaming motherboard?

Aug 3, 2019
6
0
10
Will a i5-6400 processor work on a Z370-f gaming motherboard? Its the same chipset/socket so it should work right?