摘要:
publicclassBook{privatestringname;publicstringName{get{returnname;}set{name=value;}}privateintyear;publicintYear{get{returnyear;}set{year=value;}}privateintprice;publicintPrice{get{returnprice;}set{price=value;}}publicBook(stringname,intyear,intprice){Name=name;Year=year;Price=price;}}publicclassCom 阅读全文