public object?GetNthMask(int index)
            {
                ModStats_FieldIndex enu = (ModStats_FieldIndex)index;

                switch (enu)
                {
                case ModStats_FieldIndex.Version:
                    return(Version);

                case ModStats_FieldIndex.NumRecords:
                    return(NumRecords);

                case ModStats_FieldIndex.NextFormID:
                    return(NextFormID);

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }
            public void SetNthMask(int index, object obj)
            {
                ModStats_FieldIndex enu = (ModStats_FieldIndex)index;

                switch (enu)
                {
                case ModStats_FieldIndex.Version:
                    this.Version = (Exception?)obj;
                    break;

                case ModStats_FieldIndex.NumRecords:
                    this.NumRecords = (Exception?)obj;
                    break;

                case ModStats_FieldIndex.NextFormID:
                    this.NextFormID = (Exception?)obj;
                    break;

                default:
                    throw new ArgumentException($"Index is out of range: {index}");
                }
            }