You need to ensure that the variable is not visibleto developers when they are debugging any of the W eb applications

You are designing a class library that will be usedfor all of your company’s ASP.NET Web applications.
A specific variable in a helper class within the library holds very sensitive information.
You need to ensure that the variable is not visibleto developers when they are debugging any of the W eb
applications.
Which two actions should you recommend.
(Each correct answer presents part of the solution.Choose two.)

You are designing a class library that will be usedfor all of your company’s ASP.NET Web applications.
A specific variable in a helper class within the library holds very sensitive information.
You need to ensure that the variable is not visibleto developers when they are debugging any of the W eb
applications.
Which two actions should you recommend.
(Each correct answer presents part of the solution.Choose two.)

A.
Make the variable private.

B.
Make the variable protected.

C.
Use the Debugger Display attribute
D. Use the Debugger Browsable attribute.



Leave a Reply 0

Your email address will not be published. Required fields are marked *