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...


will this code works fine? or will it gives error? Object
obj=5; int i=6; i=i+obj;



will this code works fine? or will it gives error? Object obj=5; int i=6; i=i+obj;..

Answer / alb.shah

can not applied this because i is value type and obj is
reference type so this will create error
//u can do this
Object obj = 5;
int i = 6;
i = i + Convert.ToInt32(obj);

Is This Answer Correct ?    15 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

Describe a diffgram ? Write any one use of that?

3 Answers   Siebel,


What is an il?

0 Answers  


What is paging in context of Memory?

0 Answers   Microsoft,


Which property is used to identify the Page is Post Back in ASP.NET?

0 Answers   Sans Pareil IT Services,


Do I need to have the latest version of windows media player installed?

0 Answers  


What is the use of view state?

0 Answers  


How to turn off cookies for a page?

0 Answers  


Should user input data validation occur server-side or client-side? Why?

3 Answers   NIC, Siebel Systems,


what is the difference b/w .net 1.1 and 2.0 ?

2 Answers   Polaris,


COM+ Used ________________ Isolation Level

0 Answers   CTS,


What is the best Macanism to clear the Cache in asp.net

0 Answers   MCN Solutions,


how to edit gridview control in asp.net2.0

1 Answers   3i Infotech,


Categories