using System.Collections.Generic;
public static void Main()
""Accounts"": [ 1, 2, 3 ]
var config = Newtonsoft.Json.JsonConvert.DeserializeObject<Config>(json);
Console.WriteLine(string.Join(", ", config.Accounts));
Console.WriteLine(config.Accounts.GetType().FullName);
public IReadOnlyCollection<int> Accounts { get; } = new HashSet<int>();