Question:What does the as operator do?
A Casts an object to a specified type and returns null if the cast fails B Checks the type of an object C Assigns a value to a variable D None
+ AnswerA
+ ExplanationThe as operator is used for safe type casting.
+ Report