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:


Article by Gaurav Aroraa
Gaurav is a Microsoft Technology Specialist professional. He has awarded lifetime membership from Computer Society of India (CSI). He has more than 13yrs of experience in the industry. Currently, he is working in the capacity of Solution Architect with an MNC. He is serving to the various communities since 1999.

Follow Gaurav Aroraa or read 149 articles authored by Gaurav Aroraa

Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: