Click here to Skip to main content
15,885,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: getting system information through C# Pin
led mike24-Jul-08 11:02
led mike24-Jul-08 11:02 
QuestionFileSystemEventHandler arg type Pin
Not Knuth24-Jul-08 9:53
Not Knuth24-Jul-08 9:53 
AnswerRe: FileSystemEventHandler arg type Pin
led mike24-Jul-08 11:12
led mike24-Jul-08 11:12 
GeneralRe: FileSystemEventHandler arg type Pin
Not Knuth24-Jul-08 11:25
Not Knuth24-Jul-08 11:25 
GeneralRe: FileSystemEventHandler arg type Pin
led mike24-Jul-08 11:42
led mike24-Jul-08 11:42 
GeneralRe: FileSystemEventHandler arg type Pin
Not Knuth24-Jul-08 11:46
Not Knuth24-Jul-08 11:46 
QuestionProblem moving Controls at runtime Pin
kbalias24-Jul-08 9:49
kbalias24-Jul-08 9:49 
QuestionTrace Statements Pin
#realJSOP24-Jul-08 9:31
mve#realJSOP24-Jul-08 9:31 
Using VS2005 on Vista...

I have the following
#if DEBUG
	System.Diagnostics.Trace.WriteLine("block of code starts");
#endif

	code
	code
	more code

#if DEBUG
	System.Diagnostics.Trace.WriteLine("block of code ends");
#endif


Sometimes, both trace statements show up in the output window, sometimes they don't. The code in between does not present an early exit point of any kind, so I fully expect both trace statements to be displayed.

Is there something dodgy about .Net's ability to trace?


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Trace Statements Pin
Wendelius24-Jul-08 9:40
mentorWendelius24-Jul-08 9:40 
AnswerRe: Trace Statements Pin
led mike24-Jul-08 10:53
led mike24-Jul-08 10:53 
QuestionRemove Node in XML file Pin
dataminers24-Jul-08 9:26
dataminers24-Jul-08 9:26 
AnswerRe: Remove Node in XML file Pin
PIEBALDconsult24-Jul-08 10:16
mvePIEBALDconsult24-Jul-08 10:16 
Questiondisplaying a date range in a listview Pin
obievil24-Jul-08 9:08
obievil24-Jul-08 9:08 
AnswerRe: displaying a date range in a listview Pin
Wendelius24-Jul-08 9:27
mentorWendelius24-Jul-08 9:27 
Questionimplementing shortcut keys Pin
ankkit24-Jul-08 8:13
ankkit24-Jul-08 8:13 
AnswerRe: implementing shortcut keys Pin
PIEBALDconsult24-Jul-08 8:27
mvePIEBALDconsult24-Jul-08 8:27 
GeneralRe: implementing shortcut keys Pin
ankkit25-Jul-08 7:08
ankkit25-Jul-08 7:08 
GeneralRe: implementing shortcut keys Pin
PIEBALDconsult25-Jul-08 10:58
mvePIEBALDconsult25-Jul-08 10:58 
QuestionHow to set different color for different items in a list box. (asp.net page, C# backend) Pin
mdpavel24-Jul-08 6:46
mdpavel24-Jul-08 6:46 
AnswerRe: How to set different color for different items in a list box. (asp.net page, C# backend) Pin
Christian Graus24-Jul-08 10:59
protectorChristian Graus24-Jul-08 10:59 
AnswerRe: How to set different color for different items in a list box. (asp.net page, C# backend) Pin
nelsonpaixao24-Jul-08 13:10
nelsonpaixao24-Jul-08 13:10 
QuestionBitwise Circular Shift in C# Pin
Ian Uy24-Jul-08 6:38
Ian Uy24-Jul-08 6:38 
AnswerRe: Bitwise Circular Shift in C# [modified] Pin
User 665824-Jul-08 7:16
User 665824-Jul-08 7:16 
GeneralRe: Bitwise Circular Shift in C# Pin
Ian Uy24-Jul-08 7:26
Ian Uy24-Jul-08 7:26 
GeneralRe: Bitwise Circular Shift in C# Pin
User 665824-Jul-08 7:31
User 665824-Jul-08 7:31 

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.