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 |
How we can write a value to an address using macro..?
what is the syallabus of computer science students in group- 1?
Find if a number is power of two or not?
Why is c platform dependent?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
WHAT IS HEADER?
What is a constant and types of constants in c?
Differentiate between declaring a variable and defining a variable?
How can I read a directory in a c program?
What is the difference between realloc() and free()
wat are the two methods for swapping two numbers without using temp variable??
what is the difference between auto and static keywords
1 Answers cDot, College School Exams Tests, TCS,