|
-
March 14th, 2009, 10:32 PM
#3
Re: forcing value to bool 'true' or 'false' (performance warning)
 Originally Posted by Paul McKenzie
Code:
bool xx = (f.GetMethod ( ) == whatever_you_say_means_true)?true:false;
Regards,
Paul McKenzie
Good point!..
Last edited by mop65715; March 15th, 2009 at 09:02 AM.
Reason: error in reasoning.. Pauls solution works in either direction. Thanks Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|