/optimize[+ | -]
The /optimize option enables or disables optimizations performed by the compiler to make your output file smaller, faster, and more efficient. By default, /optimize is in effect. Specifying /optimize is the same as specifying /optimize+.
To prevent an optimized output file, specify /optimize-.
/o is the short form of /optimize.
It is possible to combine the /optimize and /debug options.
Compile t2.sc
and enable compiler optimizations:
csc t2.cs /optimize