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
Which method is used to perform all validation at the page level?
How can you ensure a permanent cookie?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
what is loosely coupled solution? How it can be used?
What is the significance of attaching a profile while creating a user?
What is Razor View Engine
What is authorization in asp.net?
What are session state modes in asp.net?
Out of ASP or ASP.NET which one is stateless?
What is cross page posting? How is it done?
What kind of data can be stored in viewstate?
List down the sequence of methods called during the page load.
What is a swagger in web api?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
What are the different types of events are occured when a client requests an ASP.NET page from IIS server?