What are the similarities between class and structure?
Answer Posted / sanjivani
Both are same except the followings
class is ref type and structure is val type
class objects get stored on heap and structure objects get
stored on stack...
and structure should only have parameter less constructors
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between system.string and system.stringbuilder classes?
Which is the tool which can convert visual basic old version to .net compatibility version?
What do you mean by serialization?
What is DLL HELL in VB.NET
How many languages are supported by .net?
Using VB, how can you change the Mouse Pointer?
Explain redim keyword?
What is sorting in vb?
Explain about globalization?
What’s the difference between private and shared assembly?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
What is the purpose of an Assembly?
Explain the observations between vb.net and vc#.net?
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?
What is the use of internal keyword?