blah blah blah is here! blah blah » Close

0
votes
2 answers

What is the best way to catch an exception in C# application

Hello all, I am working on a simple c# application which is in 3.5 and basically deals with LINQ and linq to sql. I want to write a common code for handling exceptions. I have not written anything like that before. Is it the right ...

1
votes
5 answers

Exception Handling in C#

How to catch this exception "Input string is not in correct format"??? And how to pin point the source of this exception??? I think a link to the complete list of Exceptions & (their) related errors would be a great help. I ...

0
votes
1 answers

Exceptions - Catch All

eeboy
499

Is there a way that I can catch any exception that is not handled further down the stack? Basically if an exception occurs and is not handled then I want a catch all method to log the exception to a file along with some other information. T ...

Feedback