What is the difference between struct and class in c#?
Answer Posted / hr@tgksolutions.com
• 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 are the differences between a class and a struct?
What are the types of delegates in c#?
What are primitive data types in c#?
What is executereader in c#?
What are the fundamental differences between value types and reference types?
What is generic delegates in c#?
What is expression tree with example?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
What is a ienumerator?
Can a class have static constructor?
Is string a data type in c#?
Is there throws keyword in c#?
What is difference between an reference type and value type in C#?
What is #region in c#?
What does an indexer do?