Click here to Skip to main content
15,908,020 members
Home / Discussions / C#
   

C#

 
QuestionCalculating execution time less than 1 tick Pin
islheg21-Oct-06 18:50
islheg21-Oct-06 18:50 
AnswerRe: Calculating execution time less than 1 tick Pin
Nicholas Butler21-Oct-06 23:47
sitebuilderNicholas Butler21-Oct-06 23:47 
GeneralRe: Calculating execution time less than 1 tick Pin
Dave Kreskowiak22-Oct-06 2:24
mveDave Kreskowiak22-Oct-06 2:24 
GeneralRe: Calculating execution time less than 1 tick Pin
Nicholas Butler22-Oct-06 2:48
sitebuilderNicholas Butler22-Oct-06 2:48 
GeneralRe: Calculating execution time less than 1 tick Pin
Dave Kreskowiak22-Oct-06 12:44
mveDave Kreskowiak22-Oct-06 12:44 
AnswerRe: Calculating execution time less than 1 tick Pin
Dave Kreskowiak22-Oct-06 2:25
mveDave Kreskowiak22-Oct-06 2:25 
QuestionSimple Byte.Parse question Pin
eggie521-Oct-06 16:09
eggie521-Oct-06 16:09 
AnswerRe: Simple Byte.Parse question Pin
Sean Michael Murphy21-Oct-06 16:25
Sean Michael Murphy21-Oct-06 16:25 
eggie5 wrote:
I have this string array of numbers 20 00 08 01 08 4C 82 32 that I want to convert to a byte array. The thing is thought, that I want to treat the numbers literally. It all works fine until i get to 4C in my loop:


It's not throwing an exception until you hit 4C, but you're not getting what you think you're getting. The Parse() method expects the string to be base 10 (decimal), not hex. Convert your hex value to decimal, then pass it in.

Share and enjoy.
Sean
GeneralRe: Simple Byte.Parse question Pin
Vega0221-Oct-06 17:20
Vega0221-Oct-06 17:20 
QuestionHow to detect CPU usage or computer idle time... Pin
shultas21-Oct-06 16:05
shultas21-Oct-06 16:05 
QuestionThe old ADO double play Pin
davecove21-Oct-06 15:27
davecove21-Oct-06 15:27 
QuestionWhich Db connection is better? Pin
Mark0621-Oct-06 13:08
Mark0621-Oct-06 13:08 
AnswerRe: Which Db connection is better? Pin
Rob Graham21-Oct-06 16:17
Rob Graham21-Oct-06 16:17 
AnswerRe: Which Db connection is better? Pin
Rob Graham21-Oct-06 16:21
Rob Graham21-Oct-06 16:21 
QuestionGetProcesses Error Pin
Inkyskin_UK21-Oct-06 12:50
Inkyskin_UK21-Oct-06 12:50 
AnswerRe: GetProcesses Error Pin
S. Senthil Kumar23-Oct-06 8:50
S. Senthil Kumar23-Oct-06 8:50 
QuestionReading VB6 PropertyBag using C#? Pin
marcel.toledo21-Oct-06 12:41
marcel.toledo21-Oct-06 12:41 
AnswerRe: Reading VB6 PropertyBag using C#? Pin
LongRange.Shooter23-Oct-06 4:30
LongRange.Shooter23-Oct-06 4:30 
QuestionMouse button click... Pin
new_phoenix21-Oct-06 11:19
new_phoenix21-Oct-06 11:19 
QuestionWhat's the meaning of the following code? Pin
Ming Luo21-Oct-06 10:46
Ming Luo21-Oct-06 10:46 
AnswerRe: What's the meaning of the following code? Pin
Tamimi - Code21-Oct-06 19:59
Tamimi - Code21-Oct-06 19:59 
QuestionHow to detect Attempt to connect? Pin
FlyOnIT21-Oct-06 9:52
FlyOnIT21-Oct-06 9:52 
AnswerRe: How to detect Attempt to connect? Pin
LongRange.Shooter23-Oct-06 4:32
LongRange.Shooter23-Oct-06 4:32 
QuestionNeed To license source or component. Pin
hdv21221-Oct-06 8:44
hdv21221-Oct-06 8:44 
QuestionHow to identify whether or not a control object has been instantiated... [modified] Pin
new_phoenix21-Oct-06 7:46
new_phoenix21-Oct-06 7:46 

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.