Class definition

Hello
In c# an object can be created before its class definition.for example:
abc z = new abc();
class abc{}
It is a kind of forward reference.I don’t understand how an object can be created before its class’ definition (c# compiler is a one pass compiler).
Thanks in advance
xyoavx