using System.Collections.Generic;
public static void Main()
List<int> first = new() {1, 2, 3};
List<int> second = new() {2, 3, 4};
var fourth = first.GroupBy(x => x).Where(x => x.Count() == 1).Select(x => x.Key).ToList();
Console.WriteLine(string.Join(",", fourth));