What is IS and AS keywords in c#???
What is IS and AS keywords in c#??? Can anyone define i am a beginner i have lots of confusion about this topic ,please explain ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manoj BhoirRank #599 · 4K reputationPosted Jul 28, 2015, 9:24 AM EDT
IS
The
isoperator checks if an object can be cast to a specific type.Example:
AS
The
asoperator attempts to cast an object to a specific type, and returns null if it fails.Example:
Rajeesh MenothRank #118 · 18.4K reputationPosted Jul 28, 2015, 10:31 AM EDT