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 is renderbody?
Why to use html.partial in mvc?
Mention two instances where routing is not implemented or required?
What is viewstart page in mvc?
What type of filter does outputcacheattribute class represents?
what is code first approach?
What is entity framework in asp net?
In Server how to check whether model has error or not in ASP.Net MVC
What is the difference between viewbag and viewdata in mvc?
What is routeconfig.cs in mvc 4?
Explain linq to entities? : Entity framework
What is representational state transfer (rest) mean?
What is the difference between partial and renderpartial?
what is minimum requirement for entity framework applications to run?
Can we have enum in entity framework?