Explain the Difference between value and reference type.
Answer Posted / kinjal
c# provides a set of datatypes. datatypes of c# contain two categories one is value type and another is reference type.
value type is a variable. datatype value store in variables while a variable of a reference type stores a reference to the data.
both value type and reference type have one common thing - both derived from system.object.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain me what are the deferred execution and the immediate execution in linq?
How to create properties and methods using controls?
How to load a user control dynamically in runtime?
What are .net applications?
Explain me what is encapsulation?
What is the procedure to add assemly to gac to make it shared one?
How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?
What is strong-typing versus weak-typing? Which is preferred?
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
Do you know what is the difference between an abstract class and an interface?
Tell us what is a variable of implicit type and what is its scope?
Explain me what is an anonymous method and how is it different from a lambda expression?
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
What is the purpose of IClonable interface in .NET?