what are the differences b/w structure and class?

Answer Posted / dhinakaran

Class is a reference Type.
structure is a value Type.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do constructors do in c#?

514


What is difference between event and delegate in c#?

480


Explain the 3 types of properties in c# with an example?

547


How do you read an Excel sheet in C#?

560


How can I access the registry from c# code?

518






What is the purpose of a namespace?

483


What is int64 in c#?

498


What does int32 mean in c#?

472


What does it mean?

559


Explain the OOPS concept in C#?

583


Is int a struct in c#?

492


What is dataadapter c#?

481


What is the difference between interface and inheritance in c#?

478


How do you use nullable?

504


Why do we use delegates in c#?

518