Are exceptions really slow in C#? I threw a million to find out
DEV Community
Are exceptions really slow in C#? I threw a million to find out
Five benchmarks on .NET 10: the cost of one throw, the cost of a try block, whether stack depth matters, Parse+catch vs TryParse, and why throw ex ruins your stack trace.
0 comments
No comments yet.