Categories

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

1 Answer

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.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
Feb 16 in C Sharp (C#)
...