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
When do you use virutal keyword?
Explain an assembly and its use?
What are all the differences between dispose and finalize()?
Define naming convention?
How to achieve Polymorphism in VB.Net?
what is difference between namespace and assembly?
Using VB, how can you change the Mouse Pointer?
Explain about visual basic?
Compare c# and visual basic.net?
what is interface and when it is used?
How to store decimal data in .net?
Explain the difference between .dll extension and .exe extension files?
Explain the difference between import system.data.sqlclient and system.data.oledb?
How to connect crystal report in vb.net ?
Which namespace are used for accessing the data?