using System.Collections.Generic; namespace PathFinding { public interface IPlanarCollection : IEnumerable { T this[int x, int y] { get; set; } int GetLength(int dimension); } }