Question: difference between as and is operator in c#?
Answer: The difference between is and as operators are as follows: ... The is operator is of boolean type whereas as operator is not of boolean type. The is operator returns true if the given object is of the same type whereas as operator returns the object when they are compatible with the given type.