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

C#

 
GeneralRe: How can I capture window of a client using C# and asp3.0? Pin
Guffa12-Feb-08 3:30
Guffa12-Feb-08 3:30 
GeneralThe ConnectionString property has not been initialized Pin
D i x y11-Feb-08 23:08
D i x y11-Feb-08 23:08 
GeneralRe: The ConnectionString property has not been initialized Pin
Joachim Kerschbaumer12-Feb-08 0:03
Joachim Kerschbaumer12-Feb-08 0:03 
GeneralRe: The ConnectionString property has not been initialized Pin
Ravenet12-Feb-08 15:03
Ravenet12-Feb-08 15:03 
QuestionVS2005 Problem ?? Pin
stancrm11-Feb-08 22:38
stancrm11-Feb-08 22:38 
AnswerRe: VS2005 Problem ?? Pin
Christian Graus11-Feb-08 22:49
protectorChristian Graus11-Feb-08 22:49 
AnswerRe: VS2005 Problem ?? Pin
blakey40412-Feb-08 2:00
blakey40412-Feb-08 2:00 
GeneralBenchmarking code snippets Pin
invictus311-Feb-08 22:15
invictus311-Feb-08 22:15 
Hi
I have 2 algorithms that I want to compare (in terms of raw execution speed). Although I have already checked the theoretical difference (O-notation) I would also like practical results since each statement may influence the run-time in a way that theoretical techniques can not identify as easily.

So my question is: How can I most accurately benchmark the run-time of a code snippet? I did this in C++ once with a library called miracle and there it was just a matter of storing the time before execution and after execution and then subtract, however I do not know C#'s capabilities for reliable and accurate results.

Any thoughts would be appreciated.
GeneralRe: Benchmarking code snippets Pin
Luc Pattyn11-Feb-08 23:06
sitebuilderLuc Pattyn11-Feb-08 23:06 
GeneralRe: Benchmarking code snippets Pin
invictus311-Feb-08 23:09
invictus311-Feb-08 23:09 
GeneralRe: Benchmarking code snippets Pin
DavidNohejl11-Feb-08 23:21
DavidNohejl11-Feb-08 23:21 
GeneralRe: Benchmarking code snippets Pin
invictus311-Feb-08 23:35
invictus311-Feb-08 23:35 
QuestionDoes Design Time property builder cause more loading time for a Windows Custom Control ? Pin
BusinessMan11-Feb-08 21:46
BusinessMan11-Feb-08 21:46 
AnswerRe: Does Design Time property builder cause more loading time for a Windows Custom Control ? Pin
Ravenet12-Feb-08 15:06
Ravenet12-Feb-08 15:06 
QuestionNot sure if RichTextBox can do this? Pin
Dewald11-Feb-08 21:29
Dewald11-Feb-08 21:29 
AnswerRe: Not sure if RichTextBox can do this? Pin
stancrm11-Feb-08 22:35
stancrm11-Feb-08 22:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:54
Dewald11-Feb-08 22:54 
AnswerRe: Not sure if RichTextBox can do this? Pin
MohammadAmiry11-Feb-08 22:51
MohammadAmiry11-Feb-08 22:51 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 22:56
Dewald11-Feb-08 22:56 
AnswerRe: Not sure if RichTextBox can do this? Pin
Luc Pattyn11-Feb-08 23:09
sitebuilderLuc Pattyn11-Feb-08 23:09 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald11-Feb-08 23:16
Dewald11-Feb-08 23:16 
GeneralRe: Not sure if RichTextBox can do this? Pin
DaveyM6911-Feb-08 23:35
professionalDaveyM6911-Feb-08 23:35 
GeneralRe: Not sure if RichTextBox can do this? Pin
Dewald12-Feb-08 0:50
Dewald12-Feb-08 0:50 
AnswerRe: Not sure if RichTextBox can do this? Pin
Pete O'Hanlon12-Feb-08 1:13
mvePete O'Hanlon12-Feb-08 1:13 
QuestionLine numbers next to Listview Pin
eyalbi00711-Feb-08 21:15
eyalbi00711-Feb-08 21:15 

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.