Created
February 27, 2014 04:01
-
-
Save Fhernd/9244136 to your computer and use it in GitHub Desktop.
Clase Empleado con nuevas definiciones en C#.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Empleado | |
{ | |
string primerNombre; | |
public string PrimerNombre | |
{ | |
get | |
{ | |
return primerNombre; | |
} | |
set | |
{ | |
primerNombre = value; | |
} | |
} | |
string apellido; | |
public string Apellido | |
{ | |
get | |
{ | |
return apellido; | |
} | |
set | |
{ | |
apellido = value; | |
} | |
} | |
int edad; | |
public int Edad | |
{ | |
get | |
{ | |
return edad; | |
} | |
set | |
{ | |
edad = value; | |
} | |
} | |
int idEmpleado; | |
public int IdEmpleado | |
{ | |
get | |
{ | |
return idEmpleado; | |
} | |
set | |
{ | |
idEmpleado = value; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment