MCQs > IT & Programming > C# > What is the main difference between the is and as operators?

C# MCQs

What is the main difference between the is and as operators?

Answer

Correct Answer: The is operator checks object type, while the as operator attempts to cast an object to a specific 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