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

Define c# and list the features.

743


Are arrays immutable c#?

709


How do I create a multilanguage?

707


Explain the process of abstraction with an example?

694


What is the difference between ref & out parameters in c#?

657


Explain types of comment in c# with examples

691


Why do we need singleton pattern in c#?

712


Why array is faster than arraylist in c#?

703


Is it true that all c# types derive from a common base class?

755


What is string concatenation?

682


What is the purpose of a namespace?

664


Do void methods have parameters?

692


if a method is marked as protected internal who can access it?

778


What is private protected in c#?

662


How to find the current application file path while runtime?

721