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 the 'page life cycle' of an ASP.NET MVC?
Mention some action filters which are used regularly in ASP.Net MVC?
What are authentication filters in web api?
What are the 3 main components of an asp.net mvc application?
Explain what languages does the .net framework support?
How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?
What is edm designer? : Entity framework
Does windows 10 need .net framework?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
What is model first? : Entity framework
What is the difference between tempdata and viewbag?
What are Scaffold templates in ASP.Net MVC?
What are the components of the .net framework.
Do you know about the new features in ASP.Net MVC 4 ?
Mention the core components of .net framework?