好吧,我承认只有我才会发现这样的小问题

c-sharp-comment

public sealed class ScrollViewer : ContentControl

[code=’csharp’]
//
// Summary:
// Gets a value that represents the horizontal size of the area that can be
// scrolled; the difference between the width of the extent and the width of
// the viewport..
//
// Returns:
// The horizontal size of the area that can be scrolled. This property has no
// default value.
public double ScrollableWidth { get; internal set; }
[/code]

Silverlight Control里面的小细节,小小小细节…
好几篇这样的文章了,以后学着粗枝大叶一点,产品中的这些小细节太让我恼火了。

补充几句,觉得C#里面的注释写得太像八股文了。最近写了好多好多,现在随便开个东西开始无意识输出的是“Gets or sets a value indicating whether…”。

3 comments

  1. 垃圾!!什么叫三国杀的News letter 难道你们在不遗余力的推广三国杀?

发表评论