Are structs value types or reference types?
Answer / Etendra Singh Rana
Structs are value types in C#. When a struct is created, it stores the data directly in the variable that holds the struct instance, not as a reference to the memory location.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can i get this 123456789 1234 6789 123 789 12 89 1 9
Which programming language is best for desktop applications?
Can I define a type that is an alias of another type (like typedef in c++)?
What are constructors in c#?
Why do we use 0?
What is the difference between yield and return?
What is overloading and how can this be done ?
Why we use get and set property in c#?
What is windows application in c#?
There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.
Explain the process of Serialization?
Explain the term inheritance in C#.
1 Answers Deloitte, JPMorgan Chase,
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)