using System;
using System.windows.Forms;
public class textbox
{
private string t;
private string a;
private demial c;
private int q;
public textbox(string tile,string author,demial cost, int quantity )
{
t=tile;
a=author;
c=cost;
q=quantity;
}
public string Tile
{
set{t=value;}get{return t;}
}
public string Author
{
set{a=value;}get{return a;}
}
public demial Cost
{
set {c=value;}get{return c;}
}
public int Quantity
{
set{q=value;}get{return q;}
}
public demial Price()
{
retun Cost*1.25;
}
static void Main()
{ private string output="";
textbox bookshop=new textbox(string tile,string author,demial cost, int quantity );
output+=string.format("{0}零售价为{1}",Tile+Author+Cost+Quantity,Pric());
Messagebox.show(output);
}
}
[url=http://www.][我乐表情库 www.]创建自己的表情库,表情包下载,个性签名,牛逼头像,经典小游戏,QQ皮肤下载,注册后还可以在线免费看电影[/url]