Hi this is my first post so hello everybody,
I've recently been exploring the uses of linq
to use for comparisons,but really need a bit of a kickstart.
Say for instance i have a listview populated with numbered names
and I want to put up a message box if certain conflicts arise
such as this:-
This string combination is ok:-
This string combination is Not:-
1 fred (!! conflict - 1 is already used )
1 barney (!! conflict - 1 is already used )
2 barney (!! conflict - 2 is already used )
2 wilma (!! conflict - 2 is already used )
So to summarize, the prefix number can only have one unique name assigned to it,
and that unique combo can be used as often as you like.
I come across this type of critera all the time and am yet to
come up with a solution,maybe Linq could be the answer.
Thanks in advance for any help