in C Sharp by
What is the difference between “as” and “is” operators in C#?

► Click here to show 1 Answer

0 votes
“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.
Learn More with Madanswer

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma