Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created February 27, 2014 04:01
Show Gist options
  • Save Fhernd/9244136 to your computer and use it in GitHub Desktop.
Save Fhernd/9244136 to your computer and use it in GitHub Desktop.
Clase Empleado con nuevas definiciones en C#.
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