What is value type and reference type?

Answer Posted / sushma

value types store values,even if we copy that the orginal
one it is uneffected,even if we modify the copied one ,
the reference types stores refereneces of the object, if
copy that one ,it is effected,if we modify the copied one

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How string definitions will prevent escaping on backslashes in C#?

515


Why do we need interfaces in c#?

477


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

478


What is difference between out and ref in c#?

525


What are extender provider components? Explain how to use an extender provider in the project.

493






Is string mutable in c#?

475


Explain about WSDL

591


Name the two classes are required for implementing a windows service?

540


Can constructor be overloaded in c#?

468


What is Implementation inheritance and interface inheritance?

488


Explain the difference between a struct and a class?

492


What is anonymous method in c#?

455


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

2389


What is pure abstract class in c#?

447


What is arraylist c#?

453