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?
Answer Posted / chandu
Structure is a class but value type.once if you create an
object for any class then that is reference type,so
reference types can be destroyed by GC
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Why do we use threads in c#?
What is a template class?
Is c# substring zero based?
What is uint16?
what is .NET framework architecture ??
Why is ienumerable used?
Can delegates be used as callbacks?
What is generic types in c#?
Explain the difference between abstract class and interface in .net?
What does executescalar return in c#?
What is console based application?
What is readline library?
Describe the overview of clr integration.
Do we get an error while executing the “finally” block in c#?
What is console programming language?