Guest User

Untitled

a guest
Feb 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. public class Cliente {
  2. public string ID {
  3. get;
  4. set;
  5. }
  6. public string Nome {
  7. get;
  8. set;
  9. }
  10. public string CPF {
  11. get;
  12. set;
  13. }
  14. public string Email {
  15. get;
  16. set;
  17. }
  18. public string Base {
  19. get;
  20. set;
  21. }
  22. public bool Enviado {
  23. get;
  24. set;
  25. }
  26.  
  27.  
  28. public Cliente(string id, string nome, string cpf, string email, string baseDados = "TV", bool enviado = false) {
  29. ID = id;
  30. Nome = nome;
  31. CPF = cpf;
  32. Email = email;
  33. Enviado = enviado;
  34. Base = baseDados;
  35. }
  36. }
  37.  
  38. List<Cliente> clientes = new List<Cliente>();
  39.  
  40. Cliente c = clientes.Select(x => x.Enviado == false);
Add Comment
Please, Sign In to add comment