Sets are one of the most fundamental concepts in mathematics. A set is a collection of one or more objects. You might remember being taught about Venn diagrams in school. Common set operations include the intersect or union between sets.
Add a new console application project named LinqWithSets in either Visual Studio 2017 or Visual Studio Code.
In Visual Studio 2017, set the solution's start up project to be the current selection.
This application will define three arrays of strings for cohorts of apprentices and then perform some common set operations.
Import the following additional namespaces:
using System.Collections.Generic; // for IEnumerable<T> using System.Linq; // for LINQ extension methods
Inside the Program class, before the Main method, add the following method that outputs any sequence of string variables as a comma-separated single...