Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Log4net 来捕获错误。我想创建类并使用它来捕获错误。我不想通过 TRY CATCH 捕获错误。我该怎么做
Log4Net 应该用于日志记录设施。它可以用于记录异常。 但它不能用于捕获异常。
如果要记录需要使用的异常,try catch则可以通过 Log4Net 记录捕获的异常。
try catch
I'm a beginner C# developer, actually, i'm coding a game. My question is about load an XML from my windows phone app.
I have a list of object that I'd like to fill with my xml's element. But