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
what is use of entitydatasource control?
Can a view be shared across multiple controllers? If yes, how we can do that?
How to Redirect Tracing to a File
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is Dependency Injection in ASP.Net MVC
what is entity framework advantage?
Explain the new features 3.5 framework against with the tool?
will there be any issues adding a table without primary keys to a data model?
explain how you can load related entities in ef (entity framework)?
What is web api‘s in asp.net mvc 4 ?
Explain the 'page lifecycle' of an ASP.NET MVC?
How route table has been created in asp.net mvc?
mention what is csdl, ssdl and msl sections in an edmx file?
what is explicit loading?
Explain JSON Binding?