Why does NotImplementedException exist?

There is one situation I find it useful: TDD. I write my tests, then I create stubs so the tests compile. Those stubs do nothing but throw new NotImplementedException();. This way the tests will fail by default, no matter what. If I used some dummy return value, it might generate false positives. Now that all … Read more

tech