There are similar questions out there on how to check if a string contains any inputs on a list, but I am confused on how to do this for two list of strings.
Suppose I have a first List containing:
["five", "four", "three", "two", "one"]
and have a second List<string> containing:
["bathroom", "twelve", "thirteen", "fou"]
I want to see if any of the "substrings" within List 2 match with List 1. If any of the substrings in List 2 are found in List 1 (i.e. "fou") it is true, otherwise if there are no substring matches found it is false.
I'd imagine this would use linq but I am unsure how to do this for two string lists.