473,513 Members | 2,665 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Boxing information / quiz

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)?

Nov 16 '05 #1
7 1472
Funny you should ask. I saw that site today. Hopefully I'll remember your
question while I"m at work tomorrow and I can pull it from my history.

Dale

"J.Marsch" <je****@ctcdeveloper.com> wrote in message
news:OM*************@tk2msftngp13.phx.gbl...
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)?

Nov 16 '05 #2
I'd very much appreciate it! Thanks!
"DalePres" <no****@nomail.com> wrote in message
news:eJ**************@tk2msftngp13.phx.gbl...
Funny you should ask. I saw that site today. Hopefully I'll remember your question while I"m at work tomorrow and I can pull it from my history.

Dale

"J.Marsch" <je****@ctcdeveloper.com> wrote in message
news:OM*************@tk2msftngp13.phx.gbl...
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)?


Nov 16 '05 #3
I can't believe I can't find it. I checked history on my laptop, home PC,
and work PC.. I had searched for information on boxing and unboxing int
arrays and even tried the search again.

Well, I wasn't much help but I'm sure you can find enough on boxing/unboxing
to teach it.

Dale

"J.Marsch" <je****@ctcdeveloper.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I'd very much appreciate it! Thanks!
"DalePres" <no****@nomail.com> wrote in message
news:eJ**************@tk2msftngp13.phx.gbl...
Funny you should ask. I saw that site today. Hopefully I'll remember

your
question while I"m at work tomorrow and I can pull it from my history.

Dale

"J.Marsch" <je****@ctcdeveloper.com> wrote in message
news:OM*************@tk2msftngp13.phx.gbl...
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)?



Nov 16 '05 #4
Hi Jeremy,

It is a pity that Dale did not find that link for you.
Here I find some links about boxing and unboxing.
Boxing and Unboxing
http://msdn.microsoft.com/library/de...us/csref/html/
vclrfBoxingUnboxingPG.asp

Type Fundamentals by Jeffrey Richter
Boxing and Unboxing
http://msdn.microsoft.com/msdnmag/issues/1200/dotnet/

Introduction to .NET Framework Types and Other Classes
http://msdn.microsoft.com/library/de...us/dnguinet/ht
ml/drguinet1_update.asp

Hope this helps.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 16 '05 #5
Thanks for the links, Peter. And thanks for trying to find that elusive
page for me Dale!

Regards

-- Jeremy

""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:q3**************@cpmsftngxa10.phx.gbl...
Hi Jeremy,

It is a pity that Dale did not find that link for you.
Here I find some links about boxing and unboxing.
Boxing and Unboxing
http://msdn.microsoft.com/library/de...us/csref/html/ vclrfBoxingUnboxingPG.asp

Type Fundamentals by Jeffrey Richter
Boxing and Unboxing
http://msdn.microsoft.com/msdnmag/issues/1200/dotnet/

Introduction to .NET Framework Types and Other Classes
http://msdn.microsoft.com/library/de...us/dnguinet/ht ml/drguinet1_update.asp

Hope this helps.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 16 '05 #6
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
Nov 16 '05 #7
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

Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3020
by: SK | last post by:
What is the real use of boxing and unboxing in what situations will it be used. Since all types are utlmately dereived from object..what is the need for boxing and unboxing.....help
5
1297
by: Mike Labosh | last post by:
Can someone provide a link to something a bit more useful than the MSDN topics? -- Peace & happy computing, Mike Labosh, MCSD "Musha ring dum a doo dum a da!" -- James Hetfield
15
370
by: SK | last post by:
What is the real use of boxing and unboxing in what situations will it be used. Since all types are utlmately dereived from object..what is the need for boxing and unboxing.....help
19
13683
by: ahjiang | last post by:
hi there,, what is the real advantage of boxing and unboxing operations in csharp? tried looking ard the internet but couldnt find any articles on it. appreciate any help
0
7257
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7535
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5682
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.