----------------------------------------------------------- New Message on MumbaiUserGroup
----------------------------------------------------------- From: Akila.NET Message 10 in Discussion Hi, This is indeed a very interesting observation. Inorder to understand this behavio, I tried the code given by Vaibhav and tried to view the code in the disassembly window(for both j=j++ and c=j++). I tested a similar code in VC++(6.0). Not that i am proficient in understanding the disassembly code but it was interesting to find that in C# the value of j does get incremented by 1 but after that incrementing when the incremented value has to be assigned back to j, it picks up the old value i.e '0'(this is from what i understood, I could be completely wrong here). This could be a bug, though i am not too sure. Being a C/C++ person myself i feel C# ideally should give the same behaviour for the statement j=j++; Perhaps some one from MS could throw more light on this?? Regards Akila ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
