will this code works fine? or will it gives error? Object
obj=5; int i=6; i=i+obj;
Answer Posted / alb.shah
can not applied this because i is value type and obj is
reference type so this will create error
//u can do this
Object obj = 5;
int i = 6;
i = i + Convert.ToInt32(obj);
Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What are directives in asp.net? List down all the important directives.
Explain how asp.net different from asp?
Explain login control and form authentication.
Explain the difference between or and orelse?
Which protocol is used to call web service?
What are cookies in your browser?
Explain advantages of caching?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
How to Separate background image and front image from original picture....
Is web config mandatory?
What is session management in web application?
Explain the updatepanel?
Explain the difference between server control and html control.
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.