After I NGEN'ed my program and run it, I found there is no change on memory cost and running speed. I doubt if I am still running the old version(not NGEN'ed) of my program. How can I run the NGEN'ed image directly Or how can I know if I am running a NGEN'ed image
Thanks!

How could I know if I am running a NGEN'ed image?
MLT
If you have profiled and found that the JIT time is insignificant, it will likely make no difference.
Here is an article about NGen:
http://msdn.microsoft.com/msdnmag/issues/05/04/NGen/default.aspx
And this describes when it may be useful (very rarely):
http://msdn.microsoft.com/library/en-us/dnpag/html/scalenetchapt05.asp
In particular, read the section titled "Scenarios with Limited or No Sharing Should Not Use Ngen.exe", which explains why only large, shared dlls can really benefit. Stand-alone exes will rarely benefit.
Bill M
FredV
Thanks!
dberkov
spot9969
Thanks!