Category: C#

How to Catch the Unhandled Exceptions in C# ?

Are you looking for a way to catch the unhandled exception and perform the operation like logging etc. before the application terminates ?. Below is a sample code snippet that demonstrates how to do it in Console Application. How to Catch the Unhandled Exceptions in C# ?

C# Compiler Warning – CS8624 argument of type ‘{0}’ cannot be used as

In this blog post, you’ll learn more about the C# Compiler Warning – CS8624 and the related message description C# Compiler Warning Code CS8624 C# Compiler Description for the Code :CS8624 Argument of type ‘{0}’ cannot be used as an output of type ‘{1}’ for parameter ‘{2}’ in ‘{3}’ due to differences in the nullability of reference types.