Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Utente
- {
- /*
- Versione alternativa della classe Utente.
- Questa versione fa uso delle property per
- la defizione degli attributi e dei metodi
- setter e getter.
- */
- public string Id {get; set;}
- public string Nome {get; set;}
- public string Cognome {get; set;}
- public int AnnoIscrizione {get; set;}
- public string Denominazione
- {
- get {return Nome + " " + Cognome;}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement