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 is round trip in asp.net?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
What are server activated objects?
Explain different types of validators in asp.net?
Define what is razor? : asp.net mvc
How do I open an ashx file?
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
Where is session data stored in asp net?
How do you declare static variable? What is its lifetime?
What does asax stand for?
What are the components of ado.net?
Where sessions are stored in asp.net?
What is session and application variable in asp net?
What is the usage of DelegatingHandler?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?