WHAT IS BOXING? HOW WE CAN USE IT?
Answers were Sorted based on User's Feedback
Answer / rahultripathi
There is two type datatype available Value and reference
type . value are stored in stack and reference type used
in heap . when we copy data from stack memmory to heap it
call Boxing .
Int32 x = 10; object o = x ; // Implicit
boxing
Int32 y = 10;
object obj = (object) y; // Explicit Boxing
Rahul Tripathi
raultripathi@myway.com
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / murugavel
it is implicit convertion for value type to refference type
int x=10;
object y;
x=y;//boxing
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / saiish bhat
Boxing is implicit conversion of value type to type object.
ex:
int i = 123;
int j = i; // boxing
Is This Answer Correct ? | 2 Yes | 2 No |
Changing Value types i.e.,int,double etc in to reference
type i.e., object is called boxing
Is This Answer Correct ? | 0 Yes | 1 No |
In which module you have worked in your .net project explain?
What is the difference between an EXE and a DLL?
18 Answers Infosys, JK Associates, Persistent, TATA, Technosoft, Wipro,
Explain model, view and controller represent in an mvc application? : asp.net mvc
If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?
How will you write a web service for secure socket layer? What is secure socket? Have you done any socket programming? What is single thread and multi thread? What are the differences between .NET 1.1 and .NET 2.2? What is the command to connect to a StoredProcedure? How many types of Adapters are available in ADO.NET? Why DataAdapters are important? What is DataSet? It's important to compile the ASP.NET application before using it? What protocol you use to stream the audio and Video data? What are the different kind of network protocols? Write how will you connect to a database using DataSet? Why we use AJAX? What AJAX can do which JavaScript can't do? In a page using Windows Media API, if we press a button and in succession quickly press another button, what do you think will happen? Will the application wait for the first button response and then execute the second one or directly second button command will execute. What is the architecture of your application? What is connection pooling in SQL? Tell some functions of Windows Media API? How you will detect, whether the ActiveX is installed in the system before accessing it? What are validators are available in ASP.NET? What are the basic concepts of OOPS? What is abstraction?
What are Themes? What is their use ?
What is bson in web api?
Explain about ASP.NET?
What are the different types of Session state management options available with ASP.NET?
What is the main difference between a static page and a dynamic page?
diff between Server.Transfer() and Server.Execute()
Can we use html in asp.net?