473,811 Members | 3,687 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 1486
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****@ctcdeve loper.com> wrote in message
news:OM******** *****@tk2msftng p13.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******** ******@tk2msftn gp13.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****@ctcdeve loper.com> wrote in message
news:OM******** *****@tk2msftng p13.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****@ctcdeve loper.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I'd very much appreciate it! Thanks!
"DalePres" <no****@nomail. com> wrote in message
news:eJ******** ******@tk2msftn gp13.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****@ctcdeve loper.com> wrote in message
news:OM******** *****@tk2msftng p13.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/
vclrfBoxingUnbo xingPG.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_updat e.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.m icrosoft.com> wrote in message
news:q3******** ******@cpmsftng xa10.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/ vclrfBoxingUnbo xingPG.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_updat e.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.mailnul l.com> wrote in message
news:eZ******** ********@TK2MSF TNGP11.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
3065
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
1313
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
13735
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
9726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10384
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10395
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7667
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4338
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 we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.