Advertisement
Guest User

osobaaaaa

a guest
Aug 20th, 2017
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace Biblioteka_Klasa
  7. {
  8. public class Osoba
  9. {
  10. protected string brojPasosa;
  11.  
  12. public string BrojPasosa
  13. {
  14. get { return brojPasosa; }
  15. set { brojPasosa = value; }
  16. }
  17. protected string ime;
  18.  
  19. public string Ime
  20. {
  21. get { return ime; }
  22. set { ime = value; }
  23. }
  24. protected string zemlja;
  25.  
  26. public string Zemlja
  27. {
  28. get { return zemlja; }
  29. set { zemlja = value; }
  30. }
  31. protected string kontaktTelefon;
  32.  
  33. public string KontaktTelefon
  34. {
  35. get { return kontaktTelefon; }
  36. set { kontaktTelefon = value; }
  37. }
  38.  
  39.  
  40.  
  41. public Osoba(string bp, string i, string z, string tel)
  42. {
  43. brojPasosa = bp;
  44. ime = i;
  45. zemlja = z;
  46. kontaktTelefon = tel;
  47. }
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement