Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ejercicio6
- {
- public class Alumno
- {
- private string apellido;
- private string carrera;
- private int lu;
- private int anioDeIngreso;
- public string Apellido
- {
- get { return this.apellido; }
- set { this.apellido = value; }
- }
- public string Carrera
- {
- get { return this.carrera; }
- set { this.carrera = value; }
- }
- public int Lu
- {
- get { return this.lu; }
- set { this.lu = value; }
- }
- public int AnioDeIngreso
- {
- get { return this.anioDeIngreso; }
- set { this.anioDeIngreso = value; }
- }
- public Alumno()
- {
- Apellido = "";
- Carrera = "";
- Lu = 0;
- AnioDeIngreso = 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement