Examveda

What is the purpose of the 'is' keyword in C#?

A. Checks if two objects are equal

B. Compares two values

C. Checks if an object is compatible with a type

D. Checks if an object is null

Answer: Option C


Join The Discussion

Related Questions on Basic Syntax and Data Types in C Sharp