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 are two different types of remote object creation mode in .net?

1 Answers  


What is the benefit of .net core?

1 Answers  


What is garbage collection in .net? Explain the garbage collection process?

1 Answers  


What is different between webusercontrol and in webcustomcontrol?

1 Answers  


Do you know what is garbage collector?

1 Answers  


What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories?

1 Answers   TCS,


How Can Creating Installation Components in .Net?

1 Answers  


Tell us what is json data, and what is one way that .net developers can work with json?

1 Answers  


Explain the two different types of typecasting?

1 Answers  


What is the concept of inheritance in .net?

1 Answers  


What is the base class of Button control?

2 Answers  


What's a windows process in .net?

1 Answers  


Categories