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

Explain what is the difference between encrypting a password and applying a hashing?

0 Answers  


What is Assembly manifest? what all details the assembly manifest will contain.

2 Answers   Ksb,


What are use of Cloud computing....?

1 Answers   CTS,


Give an example program for Getter /read-only methods in JAVA

1 Answers  


What is strong-typing versus weak-typing? Which is preferred?

0 Answers  






Is atl redundant in the .net world?

0 Answers  


What is the new three features of COM+ services, which are not there in COM (MTS)

0 Answers   TCS,


What are server controls?

1 Answers   Avanade, Wipro,


What is deferred execution vs. Immediate execution in linq?

0 Answers  


What is singleton activation mode in .net?

0 Answers  


how to connect database connectivity in dotNET? if suppose SQL server?and also MS access?

8 Answers  


what is the difference between class and structures?

2 Answers  


Categories