SHARE
TWEET

Untitled

a guest Oct 21st, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. namespace Shop.Model
  2. {
  3.     class Buyer
  4.     {
  5.         public string FirstName { get; set; }
  6.         public string LastName { get; set; }
  7.         public string PhoneNumber { get; set; }
  8.         public bool BlackList { get; set; }
  9.     }
  10. }
  11.  
  12. using System.Collections.Generic;
  13. using Shop.Model;
  14.  
  15. namespace Shop
  16. {
  17.     class Shop
  18.     {
  19.         List<Buyer> Buyers = new List<Buyer>();
  20.         List<CatalogItem> CatalogItems = new List<CatalogItem>();
  21.     }
  22. }
  23.  
  24.  
  25.  
  26. namespace Shop.Model
  27. {
  28.     class CatalogItem
  29.     {
  30.         public string Title { get; set; }
  31.         public string Model { get; set; }
  32.         public float Cost { get; set; }
  33.         public int Count { get; set; }
  34.     }
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top