What are all the ways to find out types of objects?

Answers were Sorted based on User's Feedback



What are all the ways to find out types of objects?..

Answer / 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

What are all the ways to find out types of objects?..

Answer / nitin

typeof(object)

Is This Answer Correct ?    23 Yes 1 No

What are all the ways to find out types of objects?..

Answer / karvendhan

typeof(object)

Is This Answer Correct ?    4 Yes 1 No

What are all the ways to find out types of objects?..

Answer / riya

.GetType()
typeof(object)

Is This Answer Correct ?    0 Yes 0 No

What are all the ways to find out types of objects?..

Answer / guest

.TYPE

Is This Answer Correct ?    2 Yes 11 No

Post New Answer

More ASP.NET Interview Questions

In asp.net application, if a webpage or total application seems too slow or getting delayed to load completely in the browser. As a developer, what are the checkings or actions you will take in the application or server side to rectify the slowness or delay load or which are the factors related to this issue? How we can trace it?

1 Answers  


What is the appSettings Section in the web.config file?

0 Answers   MindCracker,


To wrap up a call to a Web service the standard used is..?

0 Answers   Siebel,


What is query string with example?

0 Answers  


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

0 Answers   BirlaSoft,






What is x xss protection?

0 Answers  


Which is faster viewbag or viewdata?

0 Answers  


How many types are there session

5 Answers   TCS,


what are the security certificates used in webservices?

0 Answers  


How can I create master page in asp net?

0 Answers  


Do gac'ed assemblies have fulltrust?

0 Answers  


why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??

2 Answers  


Categories