public static PrefEnabled[] GetList()
 {
     int i = 0;
     int c = 2;
     PrefEnabled[] arr = new PrefEnabled[c];
     arr[i++] = True;
     arr[i++] = False;
     return arr;
 }
        public static PrefEnabled[] GetList()
        {
            int i = 0;
            int c = 2;

            PrefEnabled[] arr = new PrefEnabled[c];
            arr[i++] = True;
            arr[i++] = False;
            return(arr);
        }
        public override bool Equals(object obj)
        {
            PrefEnabled e = obj as PrefEnabled;

            if (e != null)
            {
                return(this.enabled == e.enabled);
            }
            else
            {
                return(base.Equals(obj));
            }
        }