How garbage collection deals with circular references.
Answer / Upendra
Garbage collection in C# handles circular references by marking objects as reachable if they are referenced directly or indirectly by any live object. If an object cannot be reached, it is marked as unreachable and eligible for garbage collection.nHowever, because of the issue with circular references where objects indirectly reference each other without a direct live reference, garbage collection might not immediately collect the unreferenced objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to implement delegates in c#.net
List down the different ide’s provided by microsoft for c# development.
What is event delegate in c#?
What can be done with c#?
Explain Direct CAST vs CType ?
What is session c#?
How do I create a new form in c#?
What is a custom attribute?
What is early binding and late binding
12 Answers ABC, Infosys, TATA,
How can I make sure my c# classes will interoperate with other .net languages?
What is task parallel library?
What are access modifiers in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)