using System; using System.Collections.Generic; namespace DMX2 { public class SequenceurMaitre { public class Ligne { public Ligne(){} Dictionary data = new Dictionary(); public int this [Sequenceur index] { get { int value; if(!data.TryGetValue(index, out value)) return -1; return value; } set { data[index] = value; } } } List lignes = new List(); public List Lignes { get { return lignes; } } public SequenceurMaitre () { } } }