NotImplementedException
As the name pretty much implies, this exception results whenever a method or member is not implemented. This can indicate you’re dealing with a stub for functionality that’s not yet implemented. Visual Studio’s code editor Implement Interface feature uses this exception type for the method stubs it generates, as shown in Figure 23.21.
From a code-generation point of view, this is very beneficial because throwing an exception makes the compiler’s flow analysis happy as well: If a method has to return an object, throwing an exception instead is the ...
Get C# 5.0 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.