Structs are not reference types. Can structs have constructors?
Answer / Abdul Samad
"Yes, structs can have constructors in C#. This helps with initializing complex structures."
| Is This Answer Correct ? | 0 Yes | 0 No |
What does mean before a string in c#?
What is the function of .IsDescendent()?
Will the following code compile and run?
Can an int be negative c#?
Is an interface a type c#?
Why do we need singleton class in c#?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
What is the default value of date?
Is XML case-sensitive?
What are properties in C#?
Is it possible to have different access modifiers on the get/set methods of a property in c#?
What is hashtable c#?
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)