Guest User

Untitled

a guest
Apr 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApp6
  8. {
  9. public class Ksiazka
  10. {
  11. private string tytul;
  12. private DateTime data;
  13.  
  14. public string Tytul
  15. {
  16. get { return tytul; }
  17. set { tytul = value; }
  18. }
  19.  
  20. public DateTime Data
  21. {
  22. get { return data; }
  23. set { data = value; }
  24. }
  25.  
  26. public Ksiazka(string tytul, DateTime data)
  27. {
  28. Tytul = tytul;
  29. Data = data;
  30. }
  31.  
  32.  
  33. }
  34. }
Add Comment
Please, Sign In to add comment