Click here to Skip to main content
15,913,758 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Development Methodology Pin
Richard MacCutchan10-Dec-10 2:59
mveRichard MacCutchan10-Dec-10 2:59 
AnswerRe: Development Methodology Pin
T M Gray10-Dec-10 10:17
T M Gray10-Dec-10 10:17 
RantRe: Development Methodology Pin
RobCroll26-Dec-10 3:08
RobCroll26-Dec-10 3:08 
QuestionWhy use Visual Studio? Pin
Gjm7-Dec-10 2:07
Gjm7-Dec-10 2:07 
AnswerRe: Why use Visual Studio? Pin
Pete O'Hanlon7-Dec-10 2:47
mvePete O'Hanlon7-Dec-10 2:47 
AnswerRe: Why use Visual Studio? Pin
Eddy Vluggen7-Dec-10 2:54
professionalEddy Vluggen7-Dec-10 2:54 
AnswerRe: Why use Visual Studio? Pin
Mycroft Holmes9-Dec-10 23:50
professionalMycroft Holmes9-Dec-10 23:50 
AnswerRe: Why use Visual Studio? Pin
RobCroll26-Dec-10 2:47
RobCroll26-Dec-10 2:47 
Question2D Tile Based Scrolling Pin
Expert Coming5-Dec-10 13:58
Expert Coming5-Dec-10 13:58 
QuestionTool (and code) for Rotating/Shrinking multiple pictures ? Pin
zmau29-Nov-10 22:33
zmau29-Nov-10 22:33 
QuestionStoring visible signature (jpg) files in AD or Database. Pin
abmv22-Nov-10 9:02
professionalabmv22-Nov-10 9:02 
AnswerRe: Storing visible signature (jpg) files in AD or Database. Pin
Eddy Vluggen22-Nov-10 9:12
professionalEddy Vluggen22-Nov-10 9:12 
GeneralRe: Storing visible signature (jpg) files in AD or Database. Pin
abmv22-Nov-10 9:24
professionalabmv22-Nov-10 9:24 
GeneralRe: Storing visible signature (jpg) files in AD or Database. Pin
Eddy Vluggen22-Nov-10 20:31
professionalEddy Vluggen22-Nov-10 20:31 
QuestionPractical steps for using Xml in an application? Pin
charlieg22-Nov-10 4:37
charlieg22-Nov-10 4:37 
AnswerRe: Practical steps for using Xml in an application? Pin
abmv22-Nov-10 9:29
professionalabmv22-Nov-10 9:29 
GeneralRe: Practical steps for using Xml in an application? Pin
charlieg22-Nov-10 11:22
charlieg22-Nov-10 11:22 
QuestionUsing DataTables against arrays Pin
JayKhatri13-Nov-10 21:06
JayKhatri13-Nov-10 21:06 
AnswerRe: Using DataTables against arrays Pin
Eddy Vluggen16-Nov-10 0:07
professionalEddy Vluggen16-Nov-10 0:07 
GeneralRe: Using DataTables against arrays Pin
JayKhatri16-Nov-10 0:13
JayKhatri16-Nov-10 0:13 
QuestionDetecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 7:53
JayKhatri6-Nov-10 7:53 
AnswerRe: Detecting a right way to use variables in .Net Pin
Luc Pattyn6-Nov-10 8:51
sitebuilderLuc Pattyn6-Nov-10 8:51 
GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 9:31
JayKhatri6-Nov-10 9:31 
AnswerRe: Detecting a right way to use variables in .Net Pin
Ray Cassick6-Nov-10 21:54
Ray Cassick6-Nov-10 21:54 
Yeah, I agree with Luc, this seems like such a small impact that the benefits of being able to 'see' the string in the debugger might outweigh the efficiency of the hard coded string...

But if you ever have questions like this again you can also do a few things...

1) Code it both ways and open the executables up in reflector to see the IL. That sometimes shows you that no matter how you 'code' it, the compiler may just be optimizing it out for you.

2) Code it both ways and throw it in a huge loop then run it a few thousand times to get some performance numbers. See how it uses memory. See how the GC acts, etc...

GeneralRe: Detecting a right way to use variables in .Net Pin
JayKhatri6-Nov-10 22:02
JayKhatri6-Nov-10 22:02 

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.