1) You can using the Process class. Although there are all sorts of considerations, and generally I'd say if you're doing that sort of thing then you've wrongly designed your application.
2) Not that I'm aware of.
Honestly the moment you say you can't make changes to your product causes problems. Firstly can I recommend a system where you can make changes... what if a bug is found? If you can't roll those changes out.......
User Profile
Collapse
Profile Sidebar
Collapse
IanWright83
Last Activity: May 13 '09, 06:56 AM
Joined: Apr 29 '09
Location:
-
Not sure off the top of my head, but is it possible to overload the double == operator in a similar approach using extension methods?...Leave a comment:
-
-
I'm kinda amazed that the other moderator/forum leaders didn't know this actually... You can't get very far with doubles without knowing about the rounding issues.Leave a comment:
-
Quite simply because it is floating point arithmetic. It's a well known common problem.
http://en.wikipedia.org/wiki/Floating_point...Leave a comment:
-
Sorry I didn't reply earlier. Account has been locked out and only just figured out how to create a new account with my existing email address.
Anyway, what you need to look at is Math.Round(). I believe if you do the following you'll get your answer.
Code:MessageBox.Show(Math.Round(1.0 - 0.8, 1) == 0.2));
Leave a comment:
No activity results to display
Show More
Leave a comment: