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
What are action filters?
What is html.renderpartial?
How does the .net framework 3.0 relate to windows vista?
How route table is created in ASP.NET MVC?
Explain Bundle.Config in ASP.Net MVC4?
What is managed extensibility framework?
List the new features added in .net framework 4.0.
Explain dependency resolution?
Why to use Html.Partial in ASP.Net MVC?
how can you tell ef to have a different table or column name than that defined for the class?
What is poco proxy? : Entity framework
What is the need of Action Filters in ASP.Net MVC
What is viewbag title?
what is .edmx file and what it contains?
In Server how to check whether model has error or not in ASP.Net MVC