what is the difference between class and structures?

Answers were Sorted based on User's Feedback



what is the difference between class and structures?..

Answer / rakesh

in .net for stuctures u can also have functions.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between class and structures?..

Answer / 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

More Dot Net General Interview Questions

Difference between user groups and code groups

0 Answers  


Explain code access security.

0 Answers  


Explain is the jit an interpreter?

0 Answers  


Describe ways of cleaning up objects.

2 Answers   Wipro,


How can you clean up objects holding resources from within the code?

2 Answers   Wipro,






what is ItemTemplate and EditTemplate and FooterTemplate? what is the Purpose of useing template columns in datagrid?

1 Answers  


What is machine.config in .net?

0 Answers  


Please explain about "this" object

4 Answers   CTS,


Explain the difference between vb and vb.net?

0 Answers  


Can any object be stored in a viewstate in .net?

0 Answers  


What is the need of OLE-automation?

0 Answers   CGI,


How server form post-back works?

0 Answers  


Categories