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

What is 3 tier architecture?

776


Explain the difference between task and thread in .net?

712


Explain the purpose of Remoting in .NET?

878


Explain what are an object and a class?

810


Please explain what are an object and a class?

725


Explain the different parts of an assembly?

797


Explain me difference between public and static modifiers?

723


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

2150


What is the transport protocol you use to call a seb service soap?

763


What tags do you need to add within the asp:datagrid tags to bind columns manually.

1687


What is gac in .net?

805


What is Entity Relationship Model in .NET?

828


Dynamic Fonts

1678


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1823


i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?

2166