로딩
티스토리 데이터 처리 중입니다.

[C#/Linq] ExceptBy 사용 예제.

 [C#/Linq] ExceptBy 사용 예제.

using System.Linq; using System.Xml.Linq; public class Example { public static void Main() { Console.Write("> \n"); List cars = new List(); cars.Add(new Car() { CarCode = 1, CarType = 101 }); cars.Add(new Car() { CarCode = 1, CarType = 101 }); cars.Add(new Car() { CarCode = 2, CarType = 101 }); cars.Add(new Car() { CarCode = 3, CarType = 102 }); cars.Add(new Car() { CarCode = 3, CarType = 102 }).....