MCQs > IT & Programming > C# > When should the 'as' keyword be used in C# ?

C# MCQs

When should the "as" keyword be used in C# ?

Answer

Correct Answer: A "As" means one of two things: - Know for sure that this object actually is of this other type. Make it so, and if wrong, crash the program. - Know for sure that this object is not of this other type, but that there is a well-known way of converting the value of the current type to the desired type

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it