Advertisement
ggddhhii

dsfvsgbf

Aug 7th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1. static void GrabarUsuarioNuevo(string usuario, string contrasena, string nombre, string correo,
  2.             string path, string SEPARADOR)
  3.         {
  4.             bool variable = UsuarioExist(path, usuario);
  5.  
  6.             if (!variable)
  7.             {
  8.                 Console.WriteLine("Usuario guardado");
  9.                 GrabarUsuario(usuario, contrasena, nombre, correo, path, SEPARADOR);
  10.             }
  11.             else
  12.             {
  13.                 Console.WriteLine("Usuario preExistente");
  14.             }
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement