摘要:
索引器:public string this [int index] // 定义索引器{get{return member[index];}set{member[index] = value;}}属性:public int height{get{return height;}set{if(value > 0)height = value;elseConsole.WriteLine("Height值不能为负数");}}code-behind :.cs隐藏文件。(c#写的.cs文件)。windowsphone界面用xaml写的.xml文件数据库连接相关的类:sqlConn 阅读全文
posted @ 2012-07-04 13:01
RightDear
阅读(144)
评论(0)
推荐(0)

浙公网安备 33010602011771号