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
Does razor engine supports for tdd?
What is objectset? : Entity framework
What is entitytype? : Entity framework
Explain what languages does the .net framework support?
What are scaffold templates in mvc?
What are actions in mvc?
How we can invoke child actions in ASP.Net MVC?
How does the .net framework 3.0 relate to the .net framework 2.0?
Is .net core faster than .net framework?
What is the .net framework and how does it work?
Can we add constraints to the route? If yes, explain how we can do it?
What is objectcontext? : Entity framework
What is latest version of .net framework?
What is the use .Glimpse in ASP.Net MVC
What is definingquery in entity framework? : Entity framework