Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between TypeOf and GetType?

Answer Posted / saurabh

TypeOf(): It is an operator, which used to find the type of known type at the time of compilation of the program. It depends on the class or type and cannot pass the object or instance of the class as a parameter to the TypeOf() operator.
GetType(): This is the method, using this method we can obtain the type of the object or the type of instance of the class. To call this method we need an object or an instance of a class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What sort algorithm does c# use?

854


How do you pass reference parameters in c#?

857


What is null propagation c#?

933


What is a multicast c# delegate?

999


Explain about multithreading?

959


Explain the difference between Metadata and Manifest

888


If you donot specify an access modifier for a method, what is the default access modifier?

968


What is the value which is accepted by all data types ?

942


Explain lock, monitors, and mutex object in threading.

858


What is an assembly loader?

886


Is void a class?

809


Why do I get a syntax error when trying to declare a variable called checked?

946


What language do desktop applications use?

901


Why cannot you specify the accessibility modifier for methods inside the interface?

870


Is c# difficult to learn?

814