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

Which method is used to perform all validation at the page level?

973


How can you ensure a permanent cookie?

1011


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

1137


what is loosely coupled solution? How it can be used?

1022


What is the significance of attaching a profile while creating a user?

1051


What is Razor View Engine

1085


What is authorization in asp.net?

1084


What are session state modes in asp.net?

1039


Out of ASP or ASP.NET which one is stateless?

1238


What is cross page posting? How is it done?

968


What kind of data can be stored in viewstate?

990


List down the sequence of methods called during the page load.

928


What is a swagger in web api?

1061


Explain the namespace classes used in asp.net mvc? : asp.net mvc

1008


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

1123