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

What is the difference between early binding and late binding in c#?

744


What is scaffolding in c#?

716


What is uint16?

715


Why is it efficient to use System.string under System.Text.StringBuilder ?

776


what is IFormatable

784


What is a race condition?

683


What is difference between array and arraylist c#?

697


Why do we need to call CG.SupressFinalize?

757


What is the difference between an integer and int?

709


Why do we use public static void main in c#?

697


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1732


What are the fundamental differences between value types and reference types?

798


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

683


Explain About web methods and its various attributes

764


How is a loop recorder monitored?

729