Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace EspacioNombre
- {
- public class ManejoPantalla
- {
- public static int origFil;
- public static int origCol;
- public static void gotoxy(string s, int x, int y)
- {
- try
- {
- Console.SetCursorPosition(origCol + x, origFil + y);ç
- Console.Write(s);
- }
- catch(ArgumentOutOfRangeException e)
- {
- Console.Clear();
- Console.WriteLine(e.Message);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement