What is use of "is" and "as" operator ?
Is Operator -
1. is used to check if the type of an object is compatible with the given type or not .
2. is operator is of boolean type .
3. is operator is used for only reference, boxing, and unboxing conversions.
as Operator -
1. as used to perform conversion between compatible reference type or nullable type .
2. as operator is not of boolean type.
3. as operator is used only for nullable, reference and boxing conversions