Click here to Skip to main content
15,883,751 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 11:16
Jimmanuel1-May-09 11:16 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 11:34
Aljaz1111-May-09 11:34 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 12:05
Jimmanuel1-May-09 12:05 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 12:12
Aljaz1111-May-09 12:12 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 14:07
Jimmanuel1-May-09 14:07 
GeneralRe: How to show picture from imagelist in original size Pin
Aljaz1111-May-09 14:23
Aljaz1111-May-09 14:23 
GeneralRe: How to show picture from imagelist in original size Pin
Jimmanuel1-May-09 14:49
Jimmanuel1-May-09 14:49 
QuestionWhich Castring Strategy Is Better? Pin
BlitzPackage1-May-09 7:28
BlitzPackage1-May-09 7:28 
Good People,

Greetings.

I am trying to figure out which casting method I should use for my application.

1)

double average = (double)value;

or

2)

double average = value as double;

I thought that since objects of type "double" are not nullable; the cast would throw an exception if "as" returned null.   What do you think?

Thanks for any advice or information you can provide.

Blitz
AnswerRe: Which Castring Strategy Is Better? Pin
MidwestLimey1-May-09 8:02
professionalMidwestLimey1-May-09 8:02 
AnswerRe: Which Castring Strategy Is Better? Pin
Pete O'Hanlon1-May-09 10:30
mvePete O'Hanlon1-May-09 10:30 
AnswerRe: Which Castring Strategy Is Better? Pin
PIEBALDconsult1-May-09 13:49
mvePIEBALDconsult1-May-09 13:49 
GeneralRe: Which Castring Strategy Is Better? Pin
BlitzPackage1-May-09 14:41
BlitzPackage1-May-09 14:41 
GeneralRe: Which Castring Strategy Is Better? Pin
PIEBALDconsult2-May-09 4:28
mvePIEBALDconsult2-May-09 4:28 
QuestionUnable to attach to process winservices C# Pin
mark_me1-May-09 6:57
mark_me1-May-09 6:57 
QuestionRe: Unable to attach to process winservices C# Pin
ladyarcher18-Jan-10 1:02
ladyarcher18-Jan-10 1:02 
Questionsftp programming in ftp Pin
T_Teef1-May-09 6:53
T_Teef1-May-09 6:53 
QuestionC# winservice, exe to source Pin
mark_me1-May-09 6:45
mark_me1-May-09 6:45 
AnswerRe: C# winservice, exe to source Pin
Jimmanuel1-May-09 7:52
Jimmanuel1-May-09 7:52 
QuestionRe: C# winservice, exe to source Pin
mark_me1-May-09 8:47
mark_me1-May-09 8:47 
AnswerRe: C# winservice, exe to source Pin
Jimmanuel1-May-09 9:12
Jimmanuel1-May-09 9:12 
GeneralRe: C# winservice, exe to source Pin
mark_me1-May-09 11:35
mark_me1-May-09 11:35 
QuestionRe: C# winservice, exe to source Pin
mark_me1-May-09 9:04
mark_me1-May-09 9:04 
QuestionConformation Page in ASP.NET C# Pin
Shane Cavin1-May-09 6:19
Shane Cavin1-May-09 6:19 
AnswerRe: Conformation Page in ASP.NET C# Pin
Tom Lawrance1-May-09 6:29
professionalTom Lawrance1-May-09 6:29 
QuestionConnecting to a camera Pin
'Drew1-May-09 6:12
'Drew1-May-09 6:12 

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.