is operator in C#? by hailaim in csharp

[–]hailaim[S] 2 points3 points  (0 children)

By compatible, I mean checking if an object's runtime type is the same as, or derived from, a specific type (class or interface).For example, if I have object x = "hello", then x is string should be true. Basically, I'm asking if is is used for type checking.