What are circular references? C# interview Questions 35

Circular references occur when two or more objects reference each other directly or indirectly, creating a loop. This can lead to issues such as memory leaks, as the garbage collector cannot reclaim the memory used by these objects since they are still considered in use due to their mutual references.

Leave a Reply

Your email address will not be published. Required fields are marked *