c#
zzly08
这个作者很懒,什么都没留下…
展开
-
C# 常用基础代码汇总
DateTime DateTime 数字类型,DateTime 是一个包含日期、时间的类型,此类型通过 ToString() 转换为字符串时,可根据传入给 Tostring() 的参数转换为多种字符串格式。 System.DateTime currentTime=new System.DateTime(); 取当前年月日时分秒: currentTime=System.D...转载 2020-03-01 17:41:51 · 3233 阅读 · 0 评论 -
Array Arraylist List Hashtable Dictionary Stack Queue的区别
C# 集合类 Array Arraylist List Hashtable Dictionary Stack Queue转载 2017-04-15 14:29:30 · 923 阅读 · 0 评论 -
关于Linklist、Arraylis、Hashmap、Hashset、Hashtable t的特点、区别以及其数据结构
根据官方文档可知: LinkedList实现了List接口,允许null元素。此外LinkedList提供额外的get,remove,insert方法在LinkedList的首部或尾部。这些操作使LinkedList可被用作堆栈(stack),队列(queue)或双向队列(deque)。注意LinkedList没有同步方法。如果多个线程同时访问一个List,则必须自己实现访问同步。转载 2017-04-15 14:54:46 · 634 阅读 · 0 评论