1
vote
0answers
61 views

What is this structure called?

So I've been writing this data structure for a few days, and now I'm really curious about what it actually is, and to get some critique on my logic. A branch, based on this usage, exists when a HEAD ...
3
votes
2answers
105 views

JQuery typed wrapper in C#; possible recursion

I am writing an object in C# to mimic jQuery's various functions. That is, calling the constructor is akin to calling the $() function of jQuery. For example, var a = new JQuery("div").eq(0); ...
-1
votes
1answer
74 views

recursive function [closed]

I want to generate a random number then to check if it is in the database. If not then redo it. My pseudo code: PIN = GenerateRandomNumber().ToString(); ...
1
vote
2answers
208 views

Need a method that recursively finds all objects of type System.Web.UI.Pair in an object array

I have an object array that contains various types of objects (primitives, strings, other object arrays) at arbitrary levels of nesting. I need to pull all objects of type System.Web.UI.Pair from ...
2
votes
4answers
387 views

How can I remove unwanted combinations from my algorithm in C#?

I have written an algorithm in C#. It is recursive, but it is not optimal. Maybe you have suggestions for improvement? (I already posted this question on stackoverflow but the question was closed ...