﻿using System.Collections.Generic;

namespace TestTypeFoundation
{
    public class IndexedPropertyHolder<T>
    {
        private readonly List<T> items;

        public IndexedPropertyHolder()
        {
            this.items = new List<T>();
        }

        public T this[int index]
        {
            get { return this.items[index]; }
            set { this.items[index] = value; }
        }
    }
}
