Re: Funny loop with post-increment.

Brady Kelly <[email protected]> Tue, 19 Feb 2008 10:33:21 +0200
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
> Don't forget that this is a POST-increment. The return value of i++ is
> the
> original value of i, before it was incremented.
>
> -Chris

I think we all know how post-increment works.  The question was why was i
_still_ zero on the second loop iteration, after it should have been
post-incremented.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com