Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 10, 2017 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/6dbf08e029748f548ea2a479eb4ae247 to your computer and use it in GitHub Desktop.
Save Fhernd/6dbf08e029748f548ea2a479eb4ae247 to your computer and use it in GitHub Desktop.
Definición de la clase Persona.
using System;
namespace cap07.usoienumerator
{
public class Persona
{
private string nombre;
private string apellido;
public Persona(string nombre, string apellido)
{
this.nombre = nombre;
this.apellido = apellido;
}
public String Nombre
{
get
{
return nombre;
}
}
public String Apellido
{
get
{
return apellido;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment