What is the difference between struct and class in c#?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• struct: Members are public by default.
• class: Members are private by default.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• struct: Members are public by default.
• class: Members are private by default.
| Is This Answer Correct ? | 0 Yes | 0 No |
• struct: Members are public by default.
• class: Members are private by default
| Is This Answer Correct ? | 0 Yes | 0 No |
What does dbml mean in texting?
Can we override constructor in c#?
What is difference between ienumerable and iqueryable in c#?
Is string nullable c#?
What are the advantages of using delegates in c#?
How do I start a program in c#?
Are tuples immutable c#?
What's new in c#?
Is c# a technology?
Is int a class in c#?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
Can you change the value of a variable while debugging a C# application?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)