From 404f5f10706a2e978883c80e95ac748dae284c7f Mon Sep 17 00:00:00 2001 From: LesterChang0987 <114913921+LesterChang0987@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:13:30 +0800 Subject: [PATCH] doc: uppdate docs/cs.md (#629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 新增了c#中的类(所有内容都是经过书籍,资料证实的) * 新增了c#中的类部分模块,元组模块,集合模块 * 更改了c#中集合的样式,之前显示出来有bug --- docs/cs.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/cs.md b/docs/cs.md index 7f5a043..b41f433 100644 --- a/docs/cs.md +++ b/docs/cs.md @@ -881,25 +881,25 @@ Console.WriteLine($"Student Id: {id}, Name: {name}, GPA: {gpa}"); ## 集合 ### c#集合 - -| 集合 | 有序 | 已排序 | 线程安全 | 允许空值 | -| :----------------------------------------------------------- | :--- | :----- | :------- | :------- | -| [List](https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1) | Y | *N* | *N* | 是 | -| [ArrayList](https://docs.microsoft.com/dotnet/api/system.collections.arraylist) (非泛型) | Y | *N* | *N* | 是 | -| [Vector](https://docs.microsoft.com/dotnet/api/system.collections.vector) (非泛型) | N | *N* | Y | 是 | -| [LinkedList](https://docs.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1) | Y | *N* | *N* | 是 | -| [ConcurrentBag](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentbag-1) | *N* | *N* | Y | 是 | -| [HashSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1) | *N* | *N* | *N* | 是 | -| [SortedSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.sortedset-1) | Y | Y | *N* | 是 | -| [ConcurrentDictionary](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentdictionary-2) | Y | *N* | Y | 是 | -| [Dictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) | *N* | *N* | *N* | 是 | -| [SortedDictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2) | Y | Y | *N* | 是 | -| [Stack](https://docs.microsoft.com/dotnet/api/system.collections.generic.stack-1) | *N* | *N* | *N* | 是 | -| [Queue](https://docs.microsoft.com/dotnet/api/system.collections.generic.queue-1) | *N* | *N* | *N* | 是 | -| [ConcurrentQueue](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentqueue-1) | *N* | *N* | Y | 是 | -| [ConcurrentStack](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentstack-1) | *N* | *N* | Y | 是 | -| [HashTable](https://learn.microsoft.com/zh-cn/dotnet/api/system.collections.hashtable?view=net-6.0) | N | Y | Y | 否 | - + +| 集合 | 有序 | 已排序 | 线程安全 | 允许空值 | +| :----------------------------------------------------------- |:----| :----- | :------- | :------- | +| [List](https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1) | Y | *N* | *N* | 是 | +| [ArrayList](https://docs.microsoft.com/dotnet/api/system.collections.arraylist) (非泛型) | Y | *N* | *N* | 是 | +| [Vector](https://docs.microsoft.com/dotnet/api/system.collections.vector) (非泛型) | *N* | *N* | Y | 是 | +| [LinkedList](https://docs.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1) | Y | *N* | *N* | 是 | +| [ConcurrentBag](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentbag-1) | *N* | *N* | Y | 是 | +| [HashSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1) | *N* | *N* | *N* | 是 | +| [SortedSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.sortedset-1) | *N* | Y | *N* | 是 | +| [ConcurrentDictionary](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentdictionary-2) | Y | *N* | Y | 是 | +| [Dictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) | *N* | *N* | *N* | 是 | +| [SortedDictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2) | Y | Y | *N* | 是 | +| [Stack](https://docs.microsoft.com/dotnet/api/system.collections.generic.stack-1) | *N* | *N* | *N* | 是 | +| [Queue](https://docs.microsoft.com/dotnet/api/system.collections.generic.queue-1) | *N* | *N* | *N* | 是 | +| [ConcurrentQueue](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentqueue-1) | *N* | *N* | Y | 是 | +| [ConcurrentStack](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentstack-1) | *N* | *N* | Y | 是 | +| [HashTable](https://learn.microsoft.com/zh-cn/dotnet/api/system.collections.hashtable?view=net-6.0) | N | Y | Y | 否 | + ### List ```cs