What are the similarities between class and structure?

Answer Posted / satyambabu

class is a collection of methods functions and properties
enumerators and fields.

structure can be defined as a tool for handling a group of
logically related data item.

the main difference is class is a referance type.
structure is a reference value type.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between value and reference types?

545


What are the advantages of VB.NET?

567


difference between control and component more than one differences

2411


Explain jagged array in vb.net?

564


what is commom language runtime?

553






What is the use of internal keyword?

574


Explain about the feature anonymous type?

618


Explain about visual basic?

547


Described strong typing and weak typing?

626


Can you please explain the difference between value and reference types?

526


Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate

2189


What is trace in vb.net?

587


Explain the use of serialization and deserialization?

514


What is private assembly?

517


Is vb net a scripting language?

544