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.
Describe the major subsystems of the WPF (Windows Presentation Foundation) in brief?
How we can prevent users of the application from editing a text in ComboBox controls in the .NET 4.0?
Explain the role of a DISTINCT clause in the LINQ query?
Write the basic difference between ASP and ASP.NET?
Illustrate Queues and Stacks?
Explain the use of Role-based security?
How to ensure that no one has interfered with ViewState in the Web page?
Illustrate the terms User Control as well as Custom Control?
Describe the differences between the Server-side and Client-side code?
Write the syntax of the while loop in the C# program.
18,76,764
1949174 Asked
3,689
Active Tutors
1420555
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!