What is the difference between typeof and GetType in C#?

typeof keyword takes the Type itself as an argument and returns the underline Type of the argument whereas GetType() can only be invoked on the instance of the type .

Sizin İçin Seçtik  Is SafeMoon available on Crypto com?

Leave a Reply

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