using System.Collections.Generic; namespace BizHawk.Client.Common { public class ZoomFactors : Dictionary { public new int this[string index] { get { if (!ContainsKey(index)) { Add(index, 2); } return base[index]; } set => base[index] = value; } } }