I have one outer List BigList and then in my switch statements I have a bunch of other List smallerList variables. When I get to each of these cases in my switch I want to add those to the BigList But I also don't want to add repeated ones. How do we do that?
private List<string> MyMethod()
{
List<string> BigList = null;
for each( string name in MyListOfStringsThatComesIn)
{
tName = name;
switch(tName)
{
case "dsdds":
// List<string> smallerList;
// add it to BigList
case "fdfdf":
// List<string> smallerList2;
// add it to BigList
case "vbbughb":
// List<string> smallerList3;
// add it to BigList