At what level C# compiler or JIT optimize the application code?
I want to know this info to reduce my code size so I will not waste my time optimize things that will be done by compiler or JIT. for example: if we assume the compiler inline the call to the get function of a property so I do not have to save the return value in a local variable to avoid function call. I want to recommend a good reference that describes what is going on? You may want to take a look at these articles: JIT Optimizations - (Sasha Goldshtein - CodeProject) Jit Optimizations: Inlining I (David Notario) Jit Optimizations: Inlining II (David Notario) To be honest you shouldn't be