J
Jeff
..net 2.0
I have a Dictionay object Dictionay<int, string> in my app. This dictionary
holds values like these:
0, "NOOB"
0, "HELLO WORLD"
0, "TEST"
1, "BUG"
1, "CRASH"
1, "NOOB"
I want to perform a check against this dictionay object to determine if a
specific key & value already exists in the dictionay object.
the main goal with this code is that I have a foreach loop where I loop
through a result from a DataTable.Select query, and for each row in the
resultset I check if the value already exist in the dictionay. If it don't
exist in the dictionay object I then add it. Trying to implement a "select
distinct" feature
any suggestions?
Jeff
I have a Dictionay object Dictionay<int, string> in my app. This dictionary
holds values like these:
0, "NOOB"
0, "HELLO WORLD"
0, "TEST"
1, "BUG"
1, "CRASH"
1, "NOOB"
I want to perform a check against this dictionay object to determine if a
specific key & value already exists in the dictionay object.
the main goal with this code is that I have a foreach loop where I loop
through a result from a DataTable.Select query, and for each row in the
resultset I check if the value already exist in the dictionay. If it don't
exist in the dictionay object I then add it. Trying to implement a "select
distinct" feature
any suggestions?
Jeff