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 is keywords in c#?
What are the methods in c#?
Differentiate between static class and singleton instance?
What are the advantages of clr procedure over t-sql procedure?
Define delegation in .net?
Where CANNOT Destructors be implemented ?
When should we use sealed class in c#?
How structure objects are destroyed? As GC releases only the objects in stack, and structure is a value type and stored in heap. So how structure objects are released?
What is the difference between int and int in c#?
Types of Unboxing?
What is the use of convert toint32 in c#?
How does insertion sort work?
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)