What is the difference between typeof(foo) and myFoo.GetType()?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nidhi
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 ? | 4 Yes | 0 No |
What is the purpose of #pragma directives in C?
how should functions be apportioned among source files?
What's wrong with "char *p; *p = malloc(10);"?
How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;
What is a lvalue
what is the code to display color fonts in the output?
please send me the code for multiplying sparse matrix using c
create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.
write c program to display output 10(10+20)+(10+20+30)+ ... n term
0 Answers Hindustan Gum Chemicals,
What are the functions to open and close file in c language?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What are different types of operators?