Advertisement
Fhernd

PruebaDoWhile.cs

Nov 12th, 2017
4,861
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. class PruebaDoWhile
  2. {
  3.     static void Main()
  4.     {
  5.         do
  6.         {
  7.             Console.WriteLine ("Seleccione opción del menú: ");
  8.             Console.WriteLine ("1. Descargar vídeo");
  9.             Console.WriteLine ("2. Eliminar vídeo");
  10.             Console.WriteLine ("3. Editar vídeo");
  11.             Console.WriteLine ("4. Subir vídeo");
  12.             Console.WriteLine ("5. Salir del programa");
  13.             int opcion = Convert.ToInt32( Console.ReadLine() );
  14.         } while ( opcion != 5 );
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement