will this code works fine? or will it gives error?
Object obj=5;
int i=6;
i=i+obj;
Answer Posted / sri4u_926
Defenitly it gives Error bcoz we cannot apply operators for
the type object.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are child actions in ASP.Net MVC?
What are the components required to create a route in ASP.Net MVC?
What is the difference between viewbag and viewdata in mvc?
Does Tempdata hold the data for other request in ASP.Net MVC?
What is .net framework in simple terms?
What are the two ways to add constraints to a route?
What are the sub types of ActionResult?
What is entityset? : Entity framework
explain why t4 entity is important in entity framework?
Does razor engine supports for tdd?
Can you use Razor code in Javascript in ASP.Net MVC?
Is .net framework 4.8 the last version?
What is entitytype? : Entity framework
What does a viewmodel do?
how do you mark a property as required? For example, for a project, the name is a required field.