will this code works fine? or will it gives error?
Object obj=5;
int i=6;
i=i+obj;
Answer Posted / somnath nanekar
it will give an error...(we hv to typecast object to int)
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
What is iobjectset? : Entity framework
What is Separation of Concerns in ASP.NET ASP.Net MVC?
The order of the filters that get executed, if the multiple filters are implemented?
Define the core components of an ASP.NET MVC application?
What is conceptual model? : Entity framework
What is the role of the jit compiler in .net framework?
What is layout in mvc?
What is the use of the default route?
What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?
What are ajax helpers in mvc?
What is difference between Viewbag and Viewdata in ASP.NET MVC?
what is entity graph in entity framework?
What are the versions of .net framework?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?