PixelatedLagg_PixelatedUtilities/src/PUtils.Collections/Slist.cs
using System.Collections.Generic;
using System;

namespace PUtils.Collections
{
    public class slist<T>
    {
        private static T[] _val;
        public slist(T[] val)
        {
            _val = val;
        }

        public T this[int index] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }

        public int Count => throw new NotImplementedException();

        public bool IsReadOnly => throw new NotImplementedException();

        public void Add(T item)
        {
            throw new NotImplementedException();
        }

        public void Clear()
        {
            throw new NotImplementedException();
        }

        public bool Contains(T item)
        {
            throw new NotImplementedException();
        }

        public void CopyTo(T[] array, int arrayIndex)
        {
            throw new NotImplementedException();
        }

        public IEnumerator<T> GetEnumerator()
        {
            throw new NotImplementedException();
        }

        public int IndexOf(T item)
        {
            throw new NotImplementedException();
        }

        public void Insert(int index, T item)
        {
            throw new NotImplementedException();
        }

        public bool Remove(T item)
        {
            throw new NotImplementedException();
        }

        public void RemoveAt(int index)
        {
            throw new NotImplementedException();
        }

        public static implicit operator slist<T>(T[] val)
        {
            return new slist<T>(val);
        }
        public static implicit operator T[](slist<T> val)
        {
            return _val;
        }
    }
}