What method is used to determine the type of an object?

The GetType method is inherited by all types that derive from Object. This means that, in addition to using your own language’s comparison keyword, you can use the GetType method to determine the type of a particular object, as the following example shows.

Sizin İçin Seçtik  How do you check if an object is an integer in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *