The Artima Developer Community
Sponsored Link

C# Answers Forum
Recursion and Circular References

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bob R

Posts: 1
Nickname: brafeedie
Registered: Jul, 2008

Recursion and Circular References Posted: Jul 10, 2008 8:33 AM
Reply to this message Reply
Advertisement
I have an array to store IDs and dependent IDs and want be able to identify if any of the relationships cause a circular reference. Any suggestions on how to do this using c#?

Example,

ID DependsOnID
1 2
1 4
2 3
3 1 (circular reference)

Topic: Simple C# Help Previous Topic   Next Topic Topic: J2ee .Net Interopearbility

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use