예제 #1
0
        public void IReg()
        {
            Console.WriteLine("Numero de registros: "+Personas.Count);
            foreach (object Registro in Personas)
            {
                this.persona = (Registro) Registro;
                ITodo();

            }
        }
예제 #2
0
        public void ARes(string sLine)
        {
            char[] delimiterChars = {'*'};
                string[] words = sLine.Split(delimiterChars);

                Registro persona = new Registro();
                persona.id = words[0];
                persona.nombre = words[1];
                persona.domicilio = words[2];
                persona.telefono = words [3];

                Personas.Add(persona);
        }
예제 #3
0
 public Proceso()
 {
     this.persona = new Registro();
     this.Personas = new ArrayList();
 }