Solved

C#6] It's Common to Include in an Exception's Error Message

Question 66

Multiple Choice

C#6] It's common to include in an exception's error message a variable's or property's identifier.This information can help a client-code programmer understand the context in which the exception occurred.Prior to C# 6,you had to hard code these identifiers into your error-message strings.As of C# 6,you can instead use the ________ operator,which returns a string representation of the identifier enclosed in parentheses.


A) valueof
B) stringof
C) characterof
D) nameof

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions