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 is an example of a delegate?

944


What are the differences between a class and a struct?

1066


What is super class in c#?

915


What are the Types of configuration files and their differences

1049


Explain how to implement an object pool in c#.net

942


In which situation(s), the use of "Delegate" is a good idea?

951


Illustrate serialization?

934


What is local function?

920


What are the different types of delegates?

911


What is satellite assembly? And steps to create satellite assembly?

981


What are managed providers?

994


What is an array class?

1082


What is concrete class in c# with example?

954


What is the advantage of singleton class?

926


What is the use of static members with example using c#.net.

906