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

What are the events that happen when a client requests an asp.net page from iis server?

0 Answers  


main difference between asp.net2.0,asp.net1.1,asp.net1.0

15 Answers   Inflexion, Infosys, iSoft, Microsoft, Prakruthi,


how to add cliet side event to server side? and how to register client script to sever side? wt difference these two

3 Answers   PSI Data Systems,


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

0 Answers  


Is asp.net is a programming language?

0 Answers  






What’s the catch?

0 Answers  


What is the difference between a.Equals(b) and a == b?

4 Answers  


Why is this service branded with windows livetm?

0 Answers  


What is SQL injection?

2 Answers  


Is asp.net different from asp? If yes, explain how?

0 Answers  


What r the asp.net list controls and diff. Between them?

0 Answers  


What are the ways of preserving data on a Web Form in ASP.NET?

0 Answers  


Categories