摘要:
FindIndex和ForEach能接受一个delegate,用来定义查找规则太好用。匿名函数,萌萌哒;Conditional("DEBUG")也是极好的。读《C#本质论》using System;using System.Collections.Generic;using System.Windo... 阅读全文
posted @ 2014-08-15 14:19 mumuliang 阅读(1010) 评论(0) 推荐(0)
|
|||
摘要:
FindIndex和ForEach能接受一个delegate,用来定义查找规则太好用。匿名函数,萌萌哒;Conditional("DEBUG")也是极好的。读《C#本质论》using System;using System.Collections.Generic;using System.Windo... 阅读全文
posted @ 2014-08-15 14:19 mumuliang 阅读(1010) 评论(0) 推荐(0)
摘要:
Capacity 在.NET中List的容量应该只是受到硬件限制。属性Capacity的真正含义,是创建List时给它预分配的容量。一旦项的数量超过了当前的Capacity,Capacity会以Capacity = (Capacity==0)?A_VALUE_YOU_CANNOT_SURE:(C... 阅读全文
posted @ 2014-08-15 11:31 mumuliang 阅读(2194) 评论(0) 推荐(1) |
|||