will this code works fine? or will it gives error?
Object obj=5;
int i=6;
i=i+obj;
Answer Posted / deepika
It will give error: "Operator '+' cannot be applied to
operands of type 'int' and 'object'"
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of razor view engine?
What is objectset? : Entity framework
what is entity graph in entity framework?
What is namespace of asp.net mvc?
What is ViewStart Page in ASP.Net MVC?
What is .net framework used for?
What is page life cycle?
What is the advantage of using asp.net routing?
What is the 'page life cycle' of an ASP.NET MVC?
What is viewdata?
What is main objective of asp.net mvc 4 or what is new in mvc4 ?
Explain what is asp.net mvc?
Explain what is routing?
What are bundling & minification features in asp.net mvc 4?
what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?