No, they're really really not...
192.168.1.0/24 - network address 192.168.1.0, broadcast 192.168.1.255
192.168.2.0/24 - network address 192.168.2.0, broadcast 192.168.2.255
Network addresses do not match, adjacency check fails, therefore networks not the same. That's networking 101 and I didn't need a CCIE to tell you that... (but I have one anyway).
They are both part of the same Class B range but that's in no way relevant given that a CIDR mask is supplied and nobody with a clue has used classful routing in the last 10 years.