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
What is difference between main and void main?
What is pointers in c?
#include
Does c have enums?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Explain what is the use of a semicolon (;) at the end of every program statement?
What is c token?
What is a MAC Address?
Why is a semicolon (;) put at the end of every program statement?
Implement bit Array in C.
What do you mean by c what are the main characteristics of c language?
What is the use of #define preprocessor in c?
What is the difference between text and binary modes?
What is #error and use of it?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.