Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/05/2009, 20:33
Trulala de cordoba
 
Fecha de Ingreso: octubre-2000
Mensajes: 1.692
Antigüedad: 24 años, 4 meses
Puntos: 19
Respuesta: vector en c sharp

Un ejemplo:
Código:
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            ArrayList xVector = new ArrayList();
            while (true)
            {
                Console.Write("Ingrese un valor: ");
                string xValor = Console.ReadLine();
                xVector.Add(xValor);
                Console.WriteLine("Desea seguir? si/no");
                xValor = Console.ReadLine().ToLower();
                if (xValor == "no") break;
            }
        }
    }
}
__________________
PD: Con amor, fe, amor a Dios y amistad podemos hacer un mundo mejor!!!!