public CodeDirective this[int index] { get { return ((CodeDirective)(List[index])); } set { List[index] = value; } }