/// <summary> /// If you want to find items in larger list that are not present in small list /// </summary> /// <param name="largerList">"A","B","C"</param> /// <param name="smallerList">"A"</param> /// <returns>"B","C"</returns> public static string[] FindItemsNotInSmallerStringArray(this string[] largerList, string[] smallerList) => largerList.Except(smallerList).ToArray();
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter