G
Guy Noir
Hello.
Is there a pattern or best practice for the following scenario?
I have a list of items I would like to compare. The number of items are
decided at runtime.
ObjectA, ObjectB, ObjectC......ObjectX
I want to process a comparison for each of these projects. So, for
example:
if ( ( ObjectA == "345") AND ( ObjectB == "345") AND ......)
I'm guessing a foreach loop of somekind but I'm trying to come up with
a best practice type of solution. Of course my difficulty is because
the number of objects isn't known until runtime.
TIA as always!!
-A
Is there a pattern or best practice for the following scenario?
I have a list of items I would like to compare. The number of items are
decided at runtime.
ObjectA, ObjectB, ObjectC......ObjectX
I want to process a comparison for each of these projects. So, for
example:
if ( ( ObjectA == "345") AND ( ObjectB == "345") AND ......)
I'm guessing a foreach loop of somekind but I'm trying to come up with
a best practice type of solution. Of course my difficulty is because
the number of objects isn't known until runtime.
TIA as always!!
-A