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 is multidimensional array in c#?

710


How many constructor can a class have?

739


How long does a loop recorder procedure take?

728


explain the nature of the assembly work?

2342


How do I open the console window?

821


What is an argument in c#?

738


What are delegates in C#?

789


Contrast System.String and System.Text.StringBuilder classes?

753


What is object type in c#?

748


What's different between c# and c/c++?

729


Is java better than c#?

713


Why do we use abstraction in c#?

689


What is the function of .IsDescendent()?

802


Explain the working of serialization?

692


Are there functions in c#?

748