using System.Collections.Generic;
public class AllocatedComponent
public double Weighting { get; set; }
public int ComponentId { get; set; }
public string Title { get; set; }
public static void Main()
var source = new HashSet<AllocatedComponent>()
{new AllocatedComponent() {
var destination = new HashSet<AllocatedComponent>()
{new AllocatedComponent() {
Console.WriteLine(source.SetEquals(destination));