Possible Duplicate:
Why are there so many $IF DEFINED(CLR) in the VCL/RTL?
I know Delphi 7 Was Written in Object Pascal(Delphi) but since Delphi 8, released December 2003, was a .NET-only release that compiled Delphi Object Pascal code into .NET CIL; the IDE was rewritten for this purpose.