using System.Collections.Generic; namespace SabreTools.DatItems { /// /// Format-agnostic representation of item data /// public class DatItemDict : Dictionary { #region Common Keys public const string NameKey = "name"; #endregion public string? Name { get => ContainsKey(NameKey) ? this[NameKey] as string : null; set => this[NameKey] = value; } } }