For more detail, see Property and Item Evaluation Order on the MSDN documentation page Comparing Properties and Items.