Please note that in all of the examples below, C is the lower note of the pair, and the other note is the next note of that name above it. So, the interval between a C and a B is only a major 7th if it is between a C and next B above it.