10步让你成为更优秀的程序员(3)

发表于:2013-01-14来源:web开发社区作者:不详点击数: 标签:程序员
38 /// summary 39 /// New implmentation of A 40 /// /summary 41 void NewA() 42 { 43 UniqueWrapper(() = 44 { 45 // unique code 46 }); 47 } 48 49 /// summary 50 /// New implementation of B 51 /// /summa
38 /// <summary>
39 /// New implmentation of A
40 /// </summary>
41 void NewA()
42 {
43     UniqueWrapper(() =>
44     {
45         // unique code
46     });
47 }
48  
49 /// <summary>
50 /// New implementation of B
51 /// </summary>
52 void NewB()
53 {
54     UniqueWrapper(() =>
55     {
56         // unique code

原文转自:http://www.ltesting.net