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
Which .net framework is installed?
What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?
Explain something about model, view and controllers in asp.net mvc?
What is the use of the default route?
Mention some action filters which are used regularly in ASP.Net MVC?
Explain the methods used to render the views in ASP.Net MVC?
What is session state management?
What is viewbag?
what is use of entitydatasource control?
Why to use html.partial in mvc?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
How does .net framework works?
What is razor code?
Why we need a separate mobile project template, while we can render our web application in mobile ?
what do you mean by navigation property?