Is and as operators of C# Language
In this short video tutorial Gaurav Kumar Arora is going to discuss about great things about is and as operators of C# language.
is operator
In C# language, we use 'is' operator to check the object type. If object is of same type,
it returns true and false if not.
as operator
It behaves similar to 'is' operator. The only difference it returns the object if both are compatible
to that type else it returns null.
Here is video presentation: