Oct 18, 2019 in C Sharp
Q: What is the difference between “as” and “is” operators in C#?

1 Answer

0 votes
Oct 18, 2019
“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.

Related questions

0 votes
May 6, 2020 in C Sharp
0 votes
Oct 18, 2019 in C Sharp
...