Click here to Skip to main content
15,898,036 members
Home / Discussions / C#
   

C#

 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:03
Dan Mos2-Dec-11 1:03 
AnswerRe: Changing ForeColor Item in ListBox ... PinPopular
Alan N2-Dec-11 1:49
Alan N2-Dec-11 1:49 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Dan Mos2-Dec-11 1:55
Dan Mos2-Dec-11 1:55 
GeneralRe: Changing ForeColor Item in ListBox ... Pin
Wonde Tadesse2-Dec-11 17:05
professionalWonde Tadesse2-Dec-11 17:05 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
Luc Pattyn2-Dec-11 4:06
sitebuilderLuc Pattyn2-Dec-11 4:06 
AnswerRe: Changing ForeColor Item in ListBox ... Pin
BobJanova2-Dec-11 5:46
BobJanova2-Dec-11 5:46 
QuestionWhat should be the Return Type? Pin
AmbiguousName1-Dec-11 23:40
AmbiguousName1-Dec-11 23:40 
AnswerRe: What should be the Return Type? Pin
BobJanova1-Dec-11 23:55
BobJanova1-Dec-11 23:55 
Exceptions are thrown, not returned.

In the case of a user-defined failure you can choose to either throw an exception with a meaningful error message, if it's an exceptional condition that should be handled as an error, or return null from the function (obviously this should be defined in the contract for the function and calling methods should handle it appropriately).
GeneralRe: What should be the Return Type? Pin
AmbiguousName2-Dec-11 0:22
AmbiguousName2-Dec-11 0:22 
AnswerRe: What should be the Return Type? Pin
Dan Mos2-Dec-11 0:54
Dan Mos2-Dec-11 0:54 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:44
BobJanova2-Dec-11 5:44 
AnswerRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 1:07
Rob Philpott2-Dec-11 1:07 
GeneralRe: What should be the Return Type? Pin
BobJanova2-Dec-11 5:45
BobJanova2-Dec-11 5:45 
GeneralRe: What should be the Return Type? Pin
Rob Philpott2-Dec-11 5:50
Rob Philpott2-Dec-11 5:50 
AnswerRe: What should be the Return Type? Pin
PIEBALDconsult2-Dec-11 2:08
mvePIEBALDconsult2-Dec-11 2:08 
GeneralRe: What should be the Return Type? Pin
Eddy Vluggen2-Dec-11 7:30
professionalEddy Vluggen2-Dec-11 7:30 
QuestionComponent Versioning and the CLR Pin
Richard Andrew x641-Dec-11 16:43
professionalRichard Andrew x641-Dec-11 16:43 
AnswerRe: Component Versioning and the CLR Pin
Not Active1-Dec-11 17:18
mentorNot Active1-Dec-11 17:18 
GeneralRe: Component Versioning and the CLR Pin
Richard Andrew x641-Dec-11 17:21
professionalRichard Andrew x641-Dec-11 17:21 
GeneralRe: Component Versioning and the CLR Pin
Rob Philpott2-Dec-11 2:46
Rob Philpott2-Dec-11 2:46 
QuestionC# Sockets Pin
Sautin.net1-Dec-11 7:48
Sautin.net1-Dec-11 7:48 
AnswerRe: C# Sockets Pin
Addy Tas1-Dec-11 12:45
Addy Tas1-Dec-11 12:45 
AnswerRe: C# Sockets Pin
jschell1-Dec-11 13:39
jschell1-Dec-11 13:39 
AnswerRe: C# Sockets Pin
Jitendra Parida - Jeetu1-Dec-11 21:41
Jitendra Parida - Jeetu1-Dec-11 21:41 
AnswerRe: C# Sockets Pin
BobJanova1-Dec-11 23:52
BobJanova1-Dec-11 23:52 

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.