Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. class Estudiante
  2. {
  3.  
  4. string carnet;
  5. public string Carnet
  6. {
  7. get { return carnet; }
  8. set { carnet = value; }
  9. }
  10. string nombre;
  11. public string Nombre
  12. {
  13. get { return nombre; }
  14. set { nombre = value; }
  15. }
  16. string apellido;
  17. public string Apellido
  18. {
  19. get { return apellido; }
  20. set { apellido = value; }
  21. }
  22. string materia;
  23. public string Materia
  24. {
  25. get { return materia; }
  26. set { materia = value; }
  27. }
  28. float[] calificaciones = new float[3];
  29. public float[] Calificaciones
  30. {
  31. get { return calificaciones; }
  32. set { calificaciones = value; }
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement