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

Is string a value type or a reference type?

4 Answers  


What are the core differences between .NET Languages ?

0 Answers   TCS,


Explain the process of serialization in .NET?

0 Answers  


Class for getting the info that is on clipboard of our system in a windows App?

1 Answers  


Explain me why do we use msmq?

0 Answers  






How to get the hostname or IP address of the server?

2 Answers  


State some of the different languages supported by .net?

0 Answers  


Explain what is a manifest in .net?

0 Answers  


What is STA in .NET?

0 Answers  


Can we use data reader to bind gridview?

3 Answers   TCS,


Explain what is reflection in microsoft .net context?

0 Answers  


Describe the Managed Execution Process

0 Answers  


Categories