Select from following answers:- Use the DebuggerDisplayAttribute on the product class

- Override ToString on the product class
- Use the ConditionalAttribute on the product class
- All Above
DebuggerDisplayAttribute helps you in supplying a more helpful description when inspecting an item through the debugger .
ConditionalAttribute can be used to remove code from your compiled application.
Show Correct Answer
Source: microsoft book (c#) | |
Alert Moderator