Ray's playground

 

2011年1月21日

Item 12: Prefer Member Initializers to Assignment Statements(Effective C#)

摘要: Member initializers are the simplest way to ensure that the member variablesin your type are initialized regardless of which constructor is called.The initializers are executed before each constructor you make for yourtype. Using this syntax means that you cannot forget to add the properinitializati 阅读全文

posted @ 2011-01-21 23:37 Ray Z 阅读(191) 评论(0) 推荐(0) 编辑

Creating Output(Chapter 4 of XSLT 2nd Edition)

摘要: In XSLT 2.0, xsl:value-of has a separator attribute. If the select attribute is a sequenceof items, those items are output in sequence, with the value of the separatorattribute between them.  There are some changes to the xsl:number element in XSLT 2.0. First of all, three newformats have been a 阅读全文

posted @ 2011-01-21 10:55 Ray Z 阅读(156) 评论(0) 推荐(0) 编辑

导航