Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the validation controls available in ASP.NET?

955


What is the difference between Classic ASP and ASP.Net?

1036


Why is xap important?

949


What is an asp.net validator? And, mention its types.

970


How do you identify that the page is postback?

882


Differentiate between a page theme and a global theme?

901


Is post back property in asp net?

974


Where viewstate value is stored in asp.net?

1034


How do you implement postback with a text box?

934


Where sessions are stored?

1053


What is redirecting behavior?

912


What are resource file and how do we generate resource file?

929


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

1070


What is application variable in asp.net?

873


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?

1848