xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 360KB
    文件類型: .7z
    金幣: 1
    下載: 1 次
    發(fā)布日期: 2021-06-12
  • 語(yǔ)言: C#
  • 標(biāo)簽: Visual.C#201??光盤源碼??

資源簡(jiǎn)介

Visual.C#2010從入門到精通 光盤源碼

資源截圖

代碼片段和文件信息

class?Customer:
??
??def?__init__(self?id?name?telephone):
????self.custID?=?id
????self.custName?=?name
????self.custTelephone?=?telephone
??
??def?__str__(self):
????return?str.format(“ID:?{0}\tName:?{1}\tTelephone:?{2}“?
??????????????????????self.custID?self.custName?self.custTelephone)


class?CustomerDB:
??
??def?__init__(self):
????self.customerDatabase?=?{}
??
??def?storeCustomer(self?customer):
???self.customerDatabase[customer.custID]?=?customer
?
??def?getCustomer(self?id):
????return?self.customerDatabase[id]
??
??def?__str__(self):
????list?=?“Customers\n“
????for?id?cust?in?self.customerDatabase.iteritems():
??????list?+=?str.format(“{0}“?cust)?+?“\n“
????return?list

def?GetNewCustomer(id?name?telephone):
??return?Customer(id?name?telephone)

def?GetCustomerDB():
??return?CustomerDB()


評(píng)論

共有 條評(píng)論