Answers for "is and as in c#"

C#
0

is and as in c#

The is operator returns true if the given object is of the same type, whereas the as operator returns the object when they are compatible with the given type. The is operator returns false if the given object is not of the same type, whereas the as operator returns null if the conversion is not possible.
Posted by: Guest on August-16-2021

C# Answers by Framework

Browse Popular Code Answers by Language