Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Answers
Recursion and Circular References
Bob R
16y
8.7k
1
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)
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
why my program breaks?
VMware question