I'd like a response from someone who actually does real-time programming in C# or who really understands the language internals.
I know that exceptions should not be used to handle normal processing, but only to detect error conditions. There is plenty of discussion on that topic.
I'd like to know if there is any run time slow-down from simply having a try/catch block in place (which never catches an exception unless the program will have to end anyway). The try/catch block is inside a function which must be called repeatedly. I suspect there is only minimal cost.
Can the cost be quantified in terms of CPU cycles, or other tasks (same cost as a floating point multiplication), or another way?
We use Microsoft C#.Net 3.5 under windows XP.