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
Explain the advantage of packaging over xcopy in .net?
What is definingquery in entity framework? : Entity framework
What is the "helperpage.isajax" property?
How can you return string result from Action in ASP.Net MVC?
What is asp net framework?
What are the 2 ways of adding constraints to a route?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
how can you tell ef to have a different table or column name than that defined for the class?
Is .net framework dead?
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?
What is the difference between ViewData, ViewBag and TempData?
Explain the advantages of asp.net mvc over asp.net?
What is disconnected scenario? : Entity framework
what is eager loading?
List out few different return types of a controller action method?