Получи случайную криптовалюту за регистрацию!

State the difference between is and as operators in C# The di | C# 1001 notes

State the difference between is and as operators in C#

The difference between is and as an operator in C# is that is the operator is used for checking the compatibility of an object for a given type and returning to the Boolean for the results.Whereas as the operator is used for casting of an object to a type or to a class.