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 are the 2 popular asp.net mvc view engines?
How we can register the Area in ASP.Net MVC?
How to update one of my table in database at 4pm every day how it is possible?
How can you return string result from Action in ASP.Net MVC?
what is deferred loading(lazy loading)?
What is the purpose of a web form?
What is the meaning of unobtrusive javascript? Explain us by any practical example.
What are the options can be configured in AJAX helpers?
Explain the tools used for unit testing in ASP.Net MVC
What is the significance of nonactionattribute?
Explain what is asp.net mvc?
Explain bundle.config in mvc4?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
What is a model in android?
Briefly describe the roles of clr in .net framework?