using System;
using System.Collections.Generic;
namespace Articulos.Pregunta.P1220
{
public class UsoQueue
{
public static void Main()
{
Queue<string> aplicaciones = new Queue<string>();
aplicaciones.Enqueue("Notepad++");
aplicaciones.Enqueue("Chrome");
aplicaciones.Enqueue("PowerShell");
aplicaciones.Enqueue("ClipMate");
aplicaciones.Enqueue("Evernote");
// Recorrido por los elementos de la lista:
foreach (string aplicacion in aplicaciones)
{
Console.WriteLine (aplicacion);
}
}
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKCm5hbWVzcGFjZSBBcnRpY3Vsb3MuUHJlZ3VudGEuUDEyMjAKewogICAgcHVibGljIGNsYXNzIFVzb1F1ZXVlCiAgICB7CiAgICAgICAgcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQogICAgICAgIHsKICAgICAgICAgICAgUXVldWU8c3RyaW5nPiBhcGxpY2FjaW9uZXMgPSBuZXcgUXVldWU8c3RyaW5nPigpOwogICAgICAgICAgICAKICAgICAgICAgICAgYXBsaWNhY2lvbmVzLkVucXVldWUoIk5vdGVwYWQrKyIpOwogICAgICAgICAgICBhcGxpY2FjaW9uZXMuRW5xdWV1ZSgiQ2hyb21lIik7CiAgICAgICAgICAgIGFwbGljYWNpb25lcy5FbnF1ZXVlKCJQb3dlclNoZWxsIik7CiAgICAgICAgICAgIGFwbGljYWNpb25lcy5FbnF1ZXVlKCJDbGlwTWF0ZSIpOwogICAgICAgICAgICBhcGxpY2FjaW9uZXMuRW5xdWV1ZSgiRXZlcm5vdGUiKTsKICAgICAgICAgICAgCiAgICAgICAgICAgIC8vIFJlY29ycmlkbyBwb3IgbG9zIGVsZW1lbnRvcyBkZSBsYSBsaXN0YToKICAgICAgICAgICAgZm9yZWFjaCAoc3RyaW5nIGFwbGljYWNpb24gaW4gYXBsaWNhY2lvbmVzKQogICAgICAgICAgICB7CiAgICAgICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZSAoYXBsaWNhY2lvbik7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICB9Cn0=