I will explain that :
right click on my computer - properties
example : Intel(R) Core(TM) i5-4200 CPU @ 1.60GHz 2.30 GHz
It's the fourth generation
how?
you check the number after i5 or i7
if the number 4 it's the fourth generation
if the number 3 it's the third generation / example ...