
Originally Posted by
it-ogo
We were in the same class - Мы были в одном классе. Мы были в одном и том же классе.
I was in the same class as you. - Я был в том же классе, что и ты. Я был в том же самом классе, что и ты.
"тот же" and "тот же самый" usually imply reference to another sentence or another part of compound sentence. It is equivalent of "same as".