Small methods are easy to troubleshoot

added by DotNetKicks
11/18/2019 5:01:31 PM

186 Views

Write small methods. How small? Small enough that any unhandled exception is easy to troubleshoot. Imagine that you receive a bug report. This one include a logged exception: System.NullReferenceException: Object reference not set to an instance of an object.


0 comments