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 sta?
Explain the difference between Repeater and Data list control in ASP.NET?
Explain the main function of razor in asp.net? : asp.net mvc
Which is faster viewbag or viewdata?
What is masterpage?
What is the difference between exe and dll?
What’s the use of “GLOBAL.ASAX” file?
How to Insert/Add in ASPXgridview
Is web config mandatory?
When does a session actually start?
Which authentication uses a combination of windows and iis authentication?
What is the difference between user control and custom control?
What is Web Server Control Templates.?
What does clearing cache?
Is react a template engine?