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

What is the use com component in .net?

0 Answers  


What is common type system (cts)?

0 Answers  


Garbage collector thread is what kind of a thread?

1 Answers  


Is .net a language?

0 Answers  


Do you know what is linq?

0 Answers  


What?s different about a Windows service as compared to a regular application?

1 Answers  


How many types of exception handlers are there in .NET?

2 Answers  


What is the difference between a class and an object, and how do these terms relate to each other?

0 Answers  


What is reflection and what is it for?

0 Answers  


How is development of a Windows service different from a Windows Forms application?

1 Answers  


What is assembly in .net?

0 Answers  


What are the new 2.0 features useful for?

0 Answers  


Categories