using System.Collections.Generic;
public static void Main()
Dictionary<string, string> Dic1 = new Dictionary<string, string>();
Dic1.Add("myKey1", "text1");
Dic1.Add("myKey2", "text2");
Dic1.Add("myKey3", "text3");
Dic1.Add("myKey4", "text4");
if (Dic1.TryGetValue(find, out myValue))
Console.WriteLine("key3 (myKey3):" + myValue);
var contaAlvo = new List<
public int ID { get; set; }
public string Nome { get; set; }
public bool Active { get; set; }
public class AccountNames
public string PositionAccountNumber { get; set; }
public string PositionName { get; set; }
public bool Active { get; set; }
public class PortfolioNames
public int PortfolioAccountNumber { get; set; }
public string PortfolioName { get; set; }
public int PortfolioId { get; set; }
public class PreferredAccountAndPortfolioNames
public List<PortfolioNames> PortfolioNames { get; set; }
public List<AccountNames> AccountNames { get; set; }
public string UserId { get; set; }
public PreferredAccountAndPortfolioNames PreferredAccountAndPortfolioNames { get; set; }