what is the difference between class and structures?

Answer Posted / vandana joshi

class can have methods and variables whereas struct can
have only variables.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is .net capable of supporting multi-thread?

672


Name the classes that are introduced in the system.numerics namespace.

724


What do you mean by Code Access Security in .NET?

713


What are the new thee features of com+ services, which are not there in com (mts)?

607


What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?

778






What is interface and abstract class in .net?

649


How to load a user control dynamically in runtime?

643


Explain something about WebService?

776


What is the concept of inheritance in .net?

699


What is the purpose of IClonable interface in .NET?

710


What is a strong name in .net?

684


What exactly is being serialized when you perform serialization in .net?

641


How to convert a .NET object into COM operabililty?

650


Explain difference between panel and groupbox classes using .net?

615


What is the difference between response.redirect & server.transfer?

631