Answer Posted / linton lazar
Boxing is converting a value type to a reference type
(Object Type).Casting is converting a reference type to a
reference type or a value type as another value type.
int i = 0;
object o = (object)i; //this is boxing
int i2 = (int)o; //this is unboxing.
long l = (long)i; //this is casting.
Is This Answer Correct ? | 22 Yes | 0 No |
Post New Answer View All Answers
witch is the best insistute in sharpoint course.what abt future of share point course.
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
What is mvc in asp.net interview question? : Asp.Net MVC
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
What is runat?
Is asp.net still used?
Explain the flow of processing of the request? : asp.net mvc
Define tracing.
Explain how does asp page work?
In a Repeater control how one can provide an alternating color scheme ?
What are merge modules?
What is _viewstart?
Which is the parent class of the web server control?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
How many types of cookies are available in asp?