What is boxing and unboxing?
Answers were Sorted based on User's Feedback
Answer / maruthi
concept of boxing converting value type into reference type,
concept of unboxing converting reference type into value type.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / alb.shah
Boxing:- Creating a Instance of a object and passing the
value of a variable to that object
dim x as integer
dim y as object
y = x - Boxing process
x = y - unboxing
Unboxing :- passing a value of a object to the varible
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / aejaz ahmad
Boxing is onverting a vlue type to refrence type (object
type)
Unboxing is converting reffrence type to value type as a
another value type
int i=0;
object o=i; //this is boxing
int i2=(int)o;//this is unboxing
long l=(long)i; //this is casting.
| Is This Answer Correct ? | 3 Yes | 0 No |
Is it possible to write code in many languages in one asp.net project?
How does cookies work in asp net?
What is deference between asp.net, vb.net, c# & j#
How do u deploy your asp.net application?
How many time you can fill dataset in asp.net?
What does this do? gacutil /l | find /i about
What is the purpose of using MVC programming pattern in ASP.NET?
Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....
Every Validation controls have same option ?
What Is ASPNET_WP.exe? What Is The Use Of It? In Which Place Inproc Session Stored ? Explain Session State ?
2 Answers Phoenix Technologies,
Give an example of cookie abuse.
How to disable disable browser's Back button in asp.net (JavaScript)?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)