Want to know if these components work together if i put them all in my desktop

Feb 20, 2018
3
0
10
Would it work if i put a pc together with these pieces i already have my harddrives.

Motherboard:
MSI B250M PRO-VDH

RAM:
Crucial Standard 8 GB DIMM DDR4-2133


Graphics card:
Gigabyte GeForce GTX 1050 D5.



Cpu:
Intel Core i5 7400 Kaby Lake

If you have any info or questions just ask ( i am a bit new to pc building so every bit of help i will find super helpfull).