Thanks Mikeb. This helps a lot. I think that is the one that I was
thinking. Actually, now I'm thinking that maybe I was remembering two
different web pages. This one is definitely one of them. The other listed
some unexpected effects that you might get when you start trying to assign
values to boxed items -- the values would not seem to "stick" because you
are really manipulating a copy. I don't remember exactly how the examples
went, though.
Thanks for the page, though. I know that's what I was thinking of. Now I
just know that I was really after two pages <g>
-- Jeremy
"mikeb" <ma************@nospam.mailnull.com> wrote in message
news:eZ****************@TK2MSFTNGP11.phx.gbl...
J.Marsch wrote: Hello all:
I am trying to introduce the concept of boxing (and some of the
hang-ups) to some developers that are coming onto a project. A while back, I read a
really cool article that was formatted as a quiz. It introduced a
number of the weird little nuances that you run into when implicit boxing occurs
in your code (like values not being changed when you expected them to -- do
to the fact that a copy was made during the box or unbox operation).
I would love to share this article with some of the other people on the
project, but I don't seem to have it bookmarked anymore, and I can't
find it. Has anyone run across it (or a similar article)?
Is this the article you're looking for?
http://msdn.microsoft.com/library/en...rp02152001.asp
--
mikeb