What is the difference between struct and class in c#?
Answer Posted / glibwaresoftsolutions
• struct: Members are public by default.
• class: Members are private by default.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by stack and heap in c#?
What is difference between static and constant variable?
What is the best dependency injection c#?
What are the new features in c# 2.0?
Contrast System.String and System.Text.StringBuilder classes?
What is datacontract in c#?
Why do we need indexers in c#?
Where do we use serialization in c#?
What is the difference between static class and singleton class in c#?
What is c# commonly used for?
What is a generic in c#?
What are variables in c#?
How will you deploy the dll file in gac?
What is a data set in c#?
What is the difference between public, static, and void?