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
What is the top .net class that everything is derived from?
Explain convert.tostrin?
What is the difference between static or dynamic assemblies?
Explain private assembly?
what is intermediate language?
Can you please explain the difference between vb and vb.net?
Which namespace are used for accessing the data?
What is deep copy?
What do you understand by vb.net?
Explain what observations between vb.net and vc#.net?
What is the size of .net object?
What is the use of system.diagnostics.process class?
How to achieve Polymorphism in VB.Net?
Name a feature which is common to all .net languages?
Can you please explain the difference between thread and process?