What is Garbage Collection in .Net and what is the Garbage
collection process?
Answer Posted / dotnetkal
A Garbage collector is actual used to collect the objects and save under it . In tht objects we are going to have unused objects and using objects.the process is to do Memory management . Garbage Collector GC is divided into three generations. each generation will store objects.
GEN3>GEN2>GEN1
when ever Gen1 Is filled and no space for new object .it will clean up by itself and delete all the un used objects .. the objects tht are currently used are going To shifted into GEN2 so the process is repeated for all the Generations.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
As you know read-only variables and constants have many similarities, but what is at least one way that they differ?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
State the various features present in .NET?
which methos do you invoke on the dataadapter control to load your generated dataset with data?
What is the advantage of .net core?
Why you want to leave your previous company.
What is COM Interoperability in .NET
What are asp.net authentication providers and iis security?
What are the different types of Classes in .NET?
What is misl?
What is new in .net core?
Which namespace is used to support multithearding in .NET?
What is the procedure to add assemly to gac to make it shared one?
Which file is taken by compiler when we have both file Application and Server Configuration file?
One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?