What is the difference between struct and class in c#?
Answer Posted / nashiinformaticssolutions
• 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 does immutable mean in c#?
What is polymorphism in c sharp?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
Can a struct inherit from an interface in c#?
What is the purpose of ienumerable in c#?
Why delegates are type safe?
Why does my windows application pop up a console window every time I run it?
What is difference between string and stringbuffer in c#?
Can you use all access modifiers for all types?
Which controls do not have events?
How does bitwise xor work?
Can a class be protected in c#?
What are the types of inheritance in c#?
Why References are stored on heap and variables on stack?
Why do we need private constructor in c#?