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

Does razor engine supports for tdd?

1166


What is objectset? : Entity framework

1024


What is entitytype? : Entity framework

992


Explain what languages does the .net framework support?

977


What are scaffold templates in mvc?

1019


What are actions in mvc?

1009


How we can invoke child actions in ASP.Net MVC?

1125


How does the .net framework 3.0 relate to the .net framework 2.0?

1051


Is .net core faster than .net framework?

1087


What is the .net framework and how does it work?

973


Can we add constraints to the route? If yes, explain how we can do it?

1231


What is objectcontext? : Entity framework

1103


What is latest version of .net framework?

1126


What is the use .Glimpse in ASP.Net MVC

1045


What is definingquery in entity framework? : Entity framework

990