摘要:
1.关键字 this①是指当前对象自己当一个类中要明确指出使用对象自己的变量或函数时,就应该加上this关键字,小栗子a如下: public class A { string Name = "我是一号~~"; public A(string... 阅读全文
posted @ 2015-12-04 20:20
miaoying
阅读(708)
评论(0)
推荐(0)
摘要:
小栗子a如下:string[] punch = new[] { "石头", "剪刀", "布" };string myPunch;public string MyPunch { get { Random random = new Random(... 阅读全文
posted @ 2015-12-04 13:03
miaoying
阅读(182)
评论(0)
推荐(0)