Click here to Skip to main content
15,891,943 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:21
Polis Pilavas22-Apr-05 10:21 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:30
wetdog50022-Apr-05 10:30 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:40
Polis Pilavas22-Apr-05 10:40 
GeneralRe: Saving image Pin
wetdog50022-Apr-05 10:51
wetdog50022-Apr-05 10:51 
GeneralRe: Saving image Pin
Polis Pilavas22-Apr-05 10:53
Polis Pilavas22-Apr-05 10:53 
GeneralRe: Saving image Pin
jinzhecheng23-Apr-05 9:00
jinzhecheng23-Apr-05 9:00 
GeneralCool: MessageBox.Show(3.1415927.ToString()); Pin
Member 9622-Apr-05 8:04
Member 9622-Apr-05 8:04 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 8:28
turbochimp22-Apr-05 8:28 
It is cool indeed, although I have to assume your example is contrived since just using "3.1415927" would have avoided boxing the numeric value (as well as a call to the member function 'ToString()').
In general, gratuitous boxing/unboxing is discouraged because of its performance cost, although the ability to box/unbox value types clearly serves a purpose, and is ingrained into the .Net Framework - the ArrayList type is a perfect example.

The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:18
DavidNohejl22-Apr-05 9:18 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
turbochimp22-Apr-05 9:38
turbochimp22-Apr-05 9:38 
GeneralRe: Cool: MessageBox.Show(3.1415927.ToString()); Pin
DavidNohejl22-Apr-05 9:44
DavidNohejl22-Apr-05 9:44 
Generalcombox in property grid Pin
jinzhecheng22-Apr-05 7:00
jinzhecheng22-Apr-05 7:00 
Generalwindow service Pin
hareluya22-Apr-05 5:58
hareluya22-Apr-05 5:58 
GeneralRe: window service Pin
John Fisher22-Apr-05 8:00
John Fisher22-Apr-05 8:00 
GeneralIs it worth to download VS2005 Express Beta2 Pin
Anonymous22-Apr-05 5:12
Anonymous22-Apr-05 5:12 
GeneralRe: Is it worth to download VS2005 Express Beta2 Pin
Carl Mercier22-Apr-05 9:11
Carl Mercier22-Apr-05 9:11 
QuestionA question no one has asked ??? Pin
LongRange.Shooter22-Apr-05 5:08
LongRange.Shooter22-Apr-05 5:08 
AnswerRe: A question no one has asked ??? Pin
Dave Kreskowiak22-Apr-05 5:36
mveDave Kreskowiak22-Apr-05 5:36 
GeneralRe: A question no one has asked ??? Pin
LongRange.Shooter25-Apr-05 8:13
LongRange.Shooter25-Apr-05 8:13 
GeneralTreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 4:14
billoo22-Apr-05 4:14 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 7:41
John Fisher22-Apr-05 7:41 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 8:24
billoo22-Apr-05 8:24 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 8:37
John Fisher22-Apr-05 8:37 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
billoo22-Apr-05 9:49
billoo22-Apr-05 9:49 
GeneralRe: TreeView--Treenode with a Checkbox bound to database Pin
John Fisher22-Apr-05 10:30
John Fisher22-Apr-05 10:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.