What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?
Answer Posted / kirti
The value-type variables are not garbage-collected, they just fall off the stack when they fall out of scope, the reference-type objects
are picked up by GC when their references go null.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is .net framework in simple terms?
How does work clr?
What is asp net framework?
How does the 'page lifecycle' of asp.net mvc works?
Possible ways to prevent xss attacks on mvc application?
What are Non Action methods in ASP.Net MVC?
What is the benefit of entity framework?
What is presentation framework?
What is the domain object?
Which is the default http method for an action method?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
How to return the JSON from action method in ASP.Net MVC?
What is rxjava used for?
What is attribute routing in mvc?
Does windows 10 need .net framework?