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
how do you mark a property as required? For example, for a project, the name is a required field.
What does a viewmodel do?
How do you specify comments using razor syntax?
Explain what platforms does the .net framework run on?
What are Action Filters in ASP.NET MVC and its use?
What is razor code?
what is entity framework advantage?
How does .net framework works?
Is .net framework 4.8 the last version?
What is filters in web api?
What are bundling & minification features in asp.net mvc 4?
Which filter executes first in an asp.net mvc application?
Is razor a server side?
What are the new features 3.5 framework against with the tool?
Explain unit test done by tester on development team?