Example of value type and refarnce type

Answer Posted / git101288

class is the value type and struct is the refrence type
this the example for value type n refrence type

Is This Answer Correct ?    0 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is enum a value type c#?

764


List out two different types of errors in c#?

684


What is the difference between structure and class in c#?

656


What is _layout cshtml?

632


What is meant by desktop application?

665






Is c# pass by reference?

676


What is the purpose of constructor in c#?

601


Can you specify nested classes as partial classes?

698


Which technology is best for desktop application?

595


What is a race condition?

649


What is the difference between field and variable in c#?

654


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

680


What is sqlconnection in c#?

671


2. What happened when BO object has been called?

1727


How many types of serialization are there in c#?

614