CatShout(this,e);
表示新人刚学C#,看到这句非常的不理解..一般看到this.都是this.xxxx这样的.
而在CatShout这个事件当中.仅仅使用了一个this当参数.
表示自己想不明白.请前辈们给指点一二.麻烦了.
class Cat 
{
private string name;
public Cat(string name)
{
this.name = name;
}

public delegate void CatShoutEventHandler(object sender,CatShoutEventArgs args);

public event CatShoutEventHandler CatShout;

public void Shout()
{
Console.WriteLine("喵,我是{0}.",name);

if(CatShout != null)
{
CatShoutEventArgs e = new CatShoutEventArgs();
e.Name = this.name;
CatShout(this,e);
}
}

}