Types of generations in garbage collector
Explain different types of generations in a garbage collector?
Expert
Memory management in CLR gets divided in three generations which are build up by grouping various memory segments. These generations enhances the performance of garbage collection.
Following are three types of generations which is found in the Garbage collector:
a) Generation 0 - When an object is initialized, it is termed to be in generation 0.
b) Generation 1 - The objects that are under the process of garbage collection are considered to be in generation 1.
c) Generation 2 – When new objects are created and added to memory, they are included in the generation 0 and old objects in the generation 1 are considered to be in the generation 2.
List the various techniques to authenticate the user in ASP.NET?
Explain the function of break statement in a switch statement with example?
Define constant and variable.
Describe code access security (CAS)?
Explain DataReader object?
Differentiate between the default skin and the named skin?
Is it possible to declare a private class in a namespace?
By which method we can post a Web page to another Web page?
What is a behavior of the Web browser when it receives the invalid element?
In what way we can format dates, numbers and currencies in the text box?
18,76,764
1937841 Asked
3,689
Active Tutors
1419576
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!