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 is sta?

960


Explain the difference between Repeater and Data list control in ASP.NET?

1078


Explain the main function of razor in asp.net? : asp.net mvc

1067


Which is faster viewbag or viewdata?

951


What is masterpage?

936


What is the difference between exe and dll?

1113


What’s the use of “GLOBAL.ASAX” file?

1071


How to Insert/Add in ASPXgridview

1017


Is web config mandatory?

957


When does a session actually start?

1020


Which authentication uses a combination of windows and iis authentication?

1072


What is the difference between user control and custom control?

931


What is Web Server Control Templates.?

1045


What does clearing cache?

946


Is react a template engine?

902