You are using custom code generation to insert security checks into your classes. When an exception happens, you’re having troubling finding the correct line in your source code. What should you do?

 Posted by Rajkatie on 8/31/2013 | Category: .NET Framework Interview questions | Views: 4107 | Points: 40
Select from following answers:
  1. Use #error to signal the error from your code so that it’s easier to find
  2. Use #line hidden to hide unnecessary lines from the debugger
  3. Use the ConditionalAttribute to remove the security checks from your debug build
  4. All Above

Show Correct Answer

Source: microsoft book (c#) | | Alert Moderator 

Comments or Responses

Login to post response