April 2013
Intermediate to advanced
1700 pages
92h 51m
English
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.
FIGURE 23.21 Code generated by Visual Studio’s Implement Interface feature.
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 ...
Read now
Unlock full access