Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Estudiante
- {
- string carnet;
- public string Carnet
- {
- get { return carnet; }
- set { carnet = value; }
- }
- string nombre;
- public string Nombre
- {
- get { return nombre; }
- set { nombre = value; }
- }
- string apellido;
- public string Apellido
- {
- get { return apellido; }
- set { apellido = value; }
- }
- string materia;
- public string Materia
- {
- get { return materia; }
- set { materia = value; }
- }
- float[] calificaciones = new float[3];
- public float[] Calificaciones
- {
- get { return calificaciones; }
- set { calificaciones = value; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement