-
Notifications
You must be signed in to change notification settings - Fork 0
/
Utente.cs
37 lines (26 loc) · 860 Bytes
/
Utente.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace csharp_biblioteca
{
internal class Utente
{
public string Cognome { get; private set; }
public string Nome { get; private set; }
public string Email { get; private set; }
public string Telefono { get; private set; }
public string Password { get; private set; }
public bool Registrato { get; private set; }
public Utente(string nome, string cognome,string email,string password = null,bool registrato = false)
{
this.Nome = nome;
this.Cognome = cognome;
this.Email = email;
this.Registrato = false;
this.Password = password;
this.Registrato = registrato;
}
}
}