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

1 Answer

0 votes
by
“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 Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Feb 16, 2020 in C Sharp by rahuljain1
0 votes
asked Dec 10, 2020 in JavaScript by SakshiSharma
0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
...