Click here to Skip to main content
15,911,360 members
Home / Discussions / C#
   

C#

 
QuestionThe appropriate application of... Pin
Marc Clifton6-Feb-07 6:45
mvaMarc Clifton6-Feb-07 6:45 
GeneralRe: The appropriate application of... Pin
Martin#6-Feb-07 6:51
Martin#6-Feb-07 6:51 
AnswerRe: The appropriate application of... Pin
Not Active6-Feb-07 7:09
mentorNot Active6-Feb-07 7:09 
AnswerRe: The appropriate application of... Pin
Dan Neely6-Feb-07 7:21
Dan Neely6-Feb-07 7:21 
AnswerRe: The appropriate application of... Pin
Luc Pattyn6-Feb-07 7:24
sitebuilderLuc Pattyn6-Feb-07 7:24 
AnswerRe: The appropriate application of... Pin
Guffa6-Feb-07 7:56
Guffa6-Feb-07 7:56 
AnswerRe: The appropriate application of... Pin
DavidNohejl6-Feb-07 8:47
DavidNohejl6-Feb-07 8:47 
AnswerRe: The appropriate application of... Pin
Daniel Turini6-Feb-07 8:57
Daniel Turini6-Feb-07 8:57 
#1: It depends whether you want an exception or a null.
#2: Unless you're doing something *very* specific (e.g., reflection), both are equally bad. Whatever you put inside the "if" should go into a foo's virtual method or interface method. And the first method is actually wrong, may bite you as soon as you have the same type name (e.g., "Customer") on two different dlls (happens very often, specially when one uses namespaces and/or abstraction layers).




GeneralRe: The appropriate application of... Pin
Marc Clifton6-Feb-07 14:39
mvaMarc Clifton6-Feb-07 14:39 
QuestionYet another MSIL question (ldsfld, ldarg_0 problem) Pin
rcollina6-Feb-07 6:36
rcollina6-Feb-07 6:36 
AnswerRe: Yet another MSIL question (ldsfld, ldarg_0 problem) Pin
Luc Pattyn6-Feb-07 7:40
sitebuilderLuc Pattyn6-Feb-07 7:40 
GeneralRe: Yet another MSIL question (ldsfld, ldarg_0 problem) Pin
rcollina7-Feb-07 1:15
rcollina7-Feb-07 1:15 
GeneralRe: Yet another MSIL question (ldsfld, ldarg_0 problem) Pin
Luc Pattyn7-Feb-07 6:04
sitebuilderLuc Pattyn7-Feb-07 6:04 
Questionhow to notify the application about database updates? Pin
sundar1566-Feb-07 6:03
sundar1566-Feb-07 6:03 
AnswerRe: how to notify the application about database updates? Pin
Not Active6-Feb-07 7:04
mentorNot Active6-Feb-07 7:04 
GeneralRe: how to notify the application about database updates? Pin
sundar1567-Feb-07 6:41
sundar1567-Feb-07 6:41 
GeneralRe: how to notify the application about database updates? Pin
Not Active7-Feb-07 6:53
mentorNot Active7-Feb-07 6:53 
QuestionHow do i check a control type? Pin
sharpiesharpie6-Feb-07 5:22
sharpiesharpie6-Feb-07 5:22 
AnswerRe: How do i check a control type? Pin
m@u6-Feb-07 5:27
m@u6-Feb-07 5:27 
AnswerRe: How do i check a control type? Pin
Seishin#6-Feb-07 5:42
Seishin#6-Feb-07 5:42 
GeneralRe: How do i check a control type? Pin
sharpiesharpie6-Feb-07 5:56
sharpiesharpie6-Feb-07 5:56 
GeneralRe: How do i check a control type? Pin
Martin#6-Feb-07 6:13
Martin#6-Feb-07 6:13 
AnswerJust a solution for future reference Pin
sharpiesharpie6-Feb-07 6:24
sharpiesharpie6-Feb-07 6:24 
GeneralRe: Just a solution for future reference Pin
Martin#6-Feb-07 6:45
Martin#6-Feb-07 6:45 
AnswerRe: How do i check a control type? Pin
Luc Pattyn6-Feb-07 7:49
sitebuilderLuc Pattyn6-Feb-07 7:49 

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.