What are all the ways to find out types of objects?
Answer Posted / rajesh
We have two ways to find out the type of Object
1)Typeof(obj)
It takes parameter and gives the corresponding
type as return data type
2) GetType()
It gives the current Instance of the object.
| Is This Answer Correct ? | 27 Yes | 1 No |
Post New Answer View All Answers
What is cookieless session id explain in brief?
What is http protocol and how it works?
What is the typical session identifier?
Which is faster viewdata or viewbag?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
Explain what is viewstate?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
What is a uri query?
What are the media types of http requests and response?
What is asp according to you?
Why asp.net is better than php?
What is anonymous authentication?
What is a windows service?
What is preprocessor in .net? Where it use?
what is command line compiler.what are the steps and how it is related to debugging.