偶msn名字是:Year y2006 = /*happy*/ new Year(2006);
一个朋友受到启发,给偶写了一段祝福代码,稍微改编一下送给大家
foreach(Blogger blogger in BlogFarm.getInstance["博客园"].Bloggers){
blogger.Health = Health.good;
blogger.Family.Happy += 1;
blogger.Money *= 10;
}
blogger.Health = Health.good;
blogger.Family.Happy += 1;
blogger.Money *= 10;
}
备注:未单元测试