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;

Answer Posted / deepika

It will give error: "Operator '+' cannot be applied to
operands of type 'int' and 'object'"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is use of entitydatasource control?

1105


Can a view be shared across multiple controllers? If yes, how we can do that?

1065


How to Redirect Tracing to a File

1067


Mention what is the difference between “ActionResult” and “ViewResult” ?

1058


What is Dependency Injection in ASP.Net MVC

1060


what is entity framework advantage?

1097


Explain the new features 3.5 framework against with the tool?

962


will there be any issues adding a table without primary keys to a data model?

1109


explain how you can load related entities in ef (entity framework)?

1002


What is web api‘s in asp.net mvc 4 ?

1108


Explain the 'page lifecycle' of an ASP.NET MVC?

1149


How route table has been created in asp.net mvc?

1002


mention what is csdl, ssdl and msl sections in an edmx file?

1026


what is explicit loading?

1138


Explain JSON Binding?

1081