C#
chenjianzu
这个作者很懒,什么都没留下…
展开
-
C# ArrayList
3.public virtual void RemoveRange(int index,int count); 从ArrayList中移除一定范围的元素。Index表示索引,count表示从索引处开始的数目 aList.Add("a"); aList.Add("b"); aList.Add("c"); aList.Add("d"); aList.Add("e"); aList.Rem转载 2012-04-03 21:37:46 · 262 阅读 · 0 评论 -
在C#里面使用IsNumeric
虽然这个IsNumeric我们可以专门写个方法,用上正则表达式,但总不如我们不费举手之劳,用上系统函数 而vb.net刚好就有,vb.net是面还有判断当时日期是当前年的第几个季度的,这样的好东西,我们不能白白浪费了,而自己去花精力写 在项目里面引用 Microsoft.VisualBasic 然后写如下代码 if (Information.IsNumeric(stringXX转载 2012-05-16 09:36:14 · 2533 阅读 · 0 评论