Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace _6_EjerciciosConMetodo
- {
- class Program
- {
- static void Main(string[] args)
- {
- string dato;
- Console.Write("Bienvenido,por favor introduzca informacion:");
- dato = Console.ReadLine();
- soloNumeros(dato);
- if (soloNumeros(dato))
- Console.WriteLine("Su informacion es un numero");
- else
- Console.WriteLine("Su informacion no es un numero");
- Console.ReadLine();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement