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(foo) and myFoo.GetType()?

Answer Posted / enso

Operator typeof(foo) is used to obtain the System.Type
object for a type at compile time.

myFoo.GetType() is used to obtain the exact run time type of
an object. This method uses reflection.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how are portions of a program disabled in demo versions?

1173


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2139


How can you read a directory in a C program?

1185


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1129


I need a sort of an approximate strcmp routine?

1078


Can an array be an Ivalue?

1137


Explain how are 16- and 32-bit numbers stored?

1306


Explain the term printf() and scanf() used in c language?

1095


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1198


What is data structure in c and its types?

1113


Mention four important string handling functions in c languages .

1157


How do you use a pointer to a function?

1148


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15888


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

2041


Are enumerations really portable?

1079