Thursday, 7 July 2016

What is the purpose of is operator in C#?

is operator determines whether an object is of a certain type.
If( Ford is Car) // checks if Ford is an object of the Car class.

No comments:

Post a Comment