what are the differences b/w structure and class?

Answer Posted / dhinakaran

Class is a reference Type.
structure is a value Type.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

528


What do you mean by winforms in c#?

503


Does a class need a constructor c#?

486


Can we inherit abstract class in c#?

480


What are static and dynamic variables?

642






What is the difference between ref and out in c#?

464


Difference between Value type & reference types ? and give the example in .Net?

519


What is the base class from which all value types are derived?

497


What do you mean by casting a data type?

540


Why var is used in c#?

488


Can class be protected in c#?

515


When a switch is said to be congested?

576


How do I do implement a trace and assert?

555


What is hashtable in c# net with example?

467


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1490