using System.Collections.Generic;
public static void Main()
var entityInvestmentOption = new List<Tuple<Decimal, String, String>>();
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (1, "EDR-MO-ACONS-02", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (2, "EDR-MO-BPRUD-02", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (3, "EDR-MO-CEQUI-02", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (4, "EDR-MO-EDYNA-02", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (4, "EDR-MO-ACONS-01", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (4, "EDR-MO-BPRUD-01", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (4, "EDR-MO-CEQUI-01", "Composite"));
entityInvestmentOption.Add(new Tuple<Decimal, String, String> (4, "EDR-MO-EDYNA-01", "Composite"));
foreach(var item in entityInvestmentOption){
var proxyCodes = entityInvestmentOption.Select(eio => eio.Item1 == item.Item1 && eio.Item2 == item.Item2);
foreach(var proxyCode in proxyCodes){
Console.WriteLine(proxyCode);
if (proxyCodes.Where(x=>x == true).Count() > 1)
Console.WriteLine(item.Item2);
Console.WriteLine("------");