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

C#

 
GeneralRe: datagridview question Pin
akram300220-Oct-09 2:40
akram300220-Oct-09 2:40 
AnswerRe: datagridview question Pin
stancrm20-Oct-09 2:39
stancrm20-Oct-09 2:39 
GeneralRe: datagridview question Pin
akram300220-Oct-09 2:44
akram300220-Oct-09 2:44 
GeneralRe: datagridview question Pin
akram300220-Oct-09 3:31
akram300220-Oct-09 3:31 
GeneralRe: datagridview question Pin
jaypatel51220-Oct-09 7:06
jaypatel51220-Oct-09 7:06 
QuestionCreation of a site collection in MOSS 2007 using C#.NET 2008 [modified] Pin
mgr_2k720-Oct-09 2:07
mgr_2k720-Oct-09 2:07 
AnswerRe: Creation of a site collection in MOSS 2007 using C#.NET 2008 Pin
Richard MacCutchan20-Oct-09 3:16
mveRichard MacCutchan20-Oct-09 3:16 
AnswerMy vote of 1 Pin
Keith Barrow20-Oct-09 3:22
professionalKeith Barrow20-Oct-09 3:22 
QuestionHow to merge 2 multidimensional Array into Single one in C# Pin
basantakumar20-Oct-09 1:44
basantakumar20-Oct-09 1:44 
AnswerRe: How to merge 2 multidimensional Array into Single one in C# Pin
Jacobb Michael20-Oct-09 2:06
Jacobb Michael20-Oct-09 2:06 
AnswerRe: How to merge 2 multidimensional Array into Single one in C# Pin
Richard MacCutchan20-Oct-09 4:29
mveRichard MacCutchan20-Oct-09 4:29 
GeneralRe: How to merge 2 multidimensional Array into Single one in C# Pin
basantakumar26-Oct-09 4:38
basantakumar26-Oct-09 4:38 
GeneralRe: How to merge 2 multidimensional Array into Single one in C# Pin
Kasim_Husaini14-Feb-11 0:25
Kasim_Husaini14-Feb-11 0:25 
QuestionGenerating code when works in design mode. Pin
hdv21220-Oct-09 1:25
hdv21220-Oct-09 1:25 
AnswerRe: Generating code when works in design mode. Pin
Jacobb Michael20-Oct-09 1:33
Jacobb Michael20-Oct-09 1:33 
GeneralRe: Generating code when works in design mode. Pin
hdv21220-Oct-09 4:27
hdv21220-Oct-09 4:27 
GeneralRe: Generating code when works in design mode. Pin
Richard MacCutchan20-Oct-09 5:58
mveRichard MacCutchan20-Oct-09 5:58 
AnswerRe: Generating code when works in design mode. Pin
Richard MacCutchan20-Oct-09 3:23
mveRichard MacCutchan20-Oct-09 3:23 
Questionpls help Pin
nirmalsat20-Oct-09 0:56
nirmalsat20-Oct-09 0:56 
AnswerRe: pls help Pin
J4amieC20-Oct-09 1:07
J4amieC20-Oct-09 1:07 
QuestionA matter of style : Switch or ?: [modified] Pin
mgkr20-Oct-09 0:18
mgkr20-Oct-09 0:18 
AnswerRe: A matter of style : Switch or ?: Pin
OriginalGriff20-Oct-09 0:31
mveOriginalGriff20-Oct-09 0:31 
AnswerRe: A matter of style : Switch or ?: Pin
Christian Graus20-Oct-09 0:39
protectorChristian Graus20-Oct-09 0:39 
AnswerRe: A matter of style : Switch or ?: Pin
Simon P Stevens20-Oct-09 0:40
Simon P Stevens20-Oct-09 0:40 
AnswerRe: A matter of style : Switch or ?: Pin
Jacobb Michael20-Oct-09 0:42
Jacobb Michael20-Oct-09 0:42 
Hi,

if it is just one matching you can go with approach 'B'

otherwise i will prefer the First Approach 'A'

because the Second Type has to be parsed as first and process.

and Even if it is more than 2 matching it is not good practice to use 'B'

because it is not much readable and understandable.and for each case we can

make a comment(purpose) in 'A', But it is not suitable for 'B'

but anyway it depends on the place where use, and the situation where you use,and even the appearance where you use

thanks

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.