Answer the question
In order to leave comments, you need to log in
How to properly handle errors in C#?
We need literature or articles on how to work with errors and logs in the .NET environment, in particular C #, from an architectural point of view. Those. when and how to throw an Exception, and when not to, etc.
Those. need some philosophy :) or best practices, thanks in advance.
Answer the question
In order to leave comments, you need to log in
Those. need some philosophy
On this topic, quite a few copies have been broken, up to the complete rejection of the try / catch / finally construct as an implicit goto. In my own code, I keep the possibility of throwing an exception to a minimum, and each case is discussed with the lead or the architect - whether it is needed there or not.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question