what are the differences b/w structure and class?

Answer Posted / jones

***class can have constructor, but structure cant have
constructor.***

***class can have garbage collector, but structure cant
have garbage collector***

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is int a class in c#?

505


What is event delegate in c#?

583


Explain manifest in c#.

524


What is c# most used for?

568


How many variables do you need?

500






what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?

555


What is arraylist class in c#?

534


What does m mean in decimal c#?

498


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1688


What is a property in c#?

476


When a switch is said to be congested?

580


How can we sort an array in c#?

513


What is a class c#?

477


What is the difference between list and ilist in c#?

484


What is difference between variable and property in c#?

433