using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
SortList = new SortedList<string, string>();
SortList.Add("key1", "value1");
SortList.Add("key2", "value2");
SortList.Add("key3", "value3");
SortList.Add("key4", "value4");
var abc = new List<(int id, string value)>()
var xyz = new List<(int id, string value)>()
var diff = new List<(int id, string value)>();
var xyzIds = xyz.Select(x => x.id);
diff = abc.Where(a => !xyzIds.Contains(a.id)).ToList();
Console.WriteLine(JsonConvert.SerializeObject(diff));
public static SortedList<string, string> SortList { get; set; }
public class EventPublishingProperty
public int EventPublishingPropertyId { get; set; }
public int CompanyId { get; set; }
public string Url { get; set; }
public string Topic { get; set; }
public string SasKeyEdata { get; set; }
public EventPublishingProperty() { }