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 are the validation controls available in ASP.NET?
What is the difference between Classic ASP and ASP.Net?
Why is xap important?
What is an asp.net validator? And, mention its types.
How do you identify that the page is postback?
Differentiate between a page theme and a global theme?
Is post back property in asp net?
Where viewstate value is stored in asp.net?
How do you implement postback with a text box?
Where sessions are stored?
What is redirecting behavior?
What are resource file and how do we generate resource file?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is application variable in asp.net?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?