Thursday, July 30, 2009

C#: How can I get text displayed in the console window to compare to an array?

How can I get text displayed in the console window to compare to an array? For example, I have a list displayed in the console like the one below


A 1


A 2


A 3





Now how can I get this list to compare with an array like the one below...and return something saying that it (list above) is contained in the array below


B 1


B 2


B 3





A 1


A 2


A 3





C 1


C 2


C3

C#: How can I get text displayed in the console window to compare to an array?
Just make it loop for each array you wish to display, or run functions for each sequentially.


No comments:

Post a Comment