T
Tim
Hi Gurus,
I am newbie and little confused with Classes(Ref type) and Structures(Value
type).
I know how to use both classes and Structures and also know the difference
between value type and ref type, but I don't see much use of structures.
Please help me by answering the question below.
1. Is there anything a Structure can do and Class cannot.
2. What is the advantage of Structure over Classes
3. When should we use Structure.
Please clear my doubt. I'll appreciate any help you can provide
Thanks, Tim.
I am newbie and little confused with Classes(Ref type) and Structures(Value
type).
I know how to use both classes and Structures and also know the difference
between value type and ref type, but I don't see much use of structures.
Please help me by answering the question below.
1. Is there anything a Structure can do and Class cannot.
2. What is the advantage of Structure over Classes
3. When should we use Structure.
Please clear my doubt. I'll appreciate any help you can provide
Thanks, Tim.