Login
Remember
Register
Ask a Question
What is the difference between “as” and “is” operators in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
What is the difference between “as” and “is” operators in C#?
c#-operators
operators-in-c#
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
“as” operator is used for casting object to type or class.
“is” operator is used for checking the object with type and this will return a Boolean value.
...