Share Dot Net Experience
C# provides us with the IS operator
–returns true if an object isan instance of a type
AS operator attempts to cast an object to a specified type
–returning the instance cast to the type
–null if not possible
–does not raise an exception
‹
›
Home
View web version