Saturday, December 15, 2007

Interesting MCPD Exam Question

Going through some MCPD practice exam questions, I ran into an interesting question I wanted to share. This questions highlights a programming philosophy in .NET coding that is encouraged by Microsoft.

Here is the question:
Click to expand any image.

question not avaiable


The choices for answers are:


choices not available


Now on a first look, it seems like the correct answer is the first choice since indeed the code does satisfy the requirements. However, the correct answer is the one highlighted. Here is why:


explanation not available


Interesting huh?

No comments: