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

Is system a class in c#?

920


What is the difference between int16 and int32 in c#?

932


What is difference between private and static constructor?

916


What is Fragmentation and its Types?

1002


Why do we need delegates in c#?

966


What is difference between managed and unmanaged code?

993


Explain about Error handling and how this is done

948


Explain the difference between directcast and ctype.

1002


What is the role of the datareader class in ado.net connections?

909


What is razor view in c#?

829


What is an inheritance ?Give an example in which inheritance is used?

1045


What is ienumerable t in c#?

852


How do you inherit a class into other class in c#?

917


What is sql transaction in c#?

895


Define the term immutable ?

1056