Skip to content

Commit 404f5f1

Browse files
doc: uppdate docs/cs.md (#629)
* 新增了c#中的类(所有内容都是经过书籍,资料证实的) * 新增了c#中的类部分模块,元组模块,集合模块 * 更改了c#中集合的样式,之前显示出来有bug
1 parent c0b8eb4 commit 404f5f1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/cs.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -881,25 +881,25 @@ Console.WriteLine($"Student Id: {id}, Name: {name}, GPA: {gpa}");
881881
## 集合
882882

883883
### c#集合
884-
885-
| 集合 | 有序 | 已排序 | 线程安全 | 允许空值 |
886-
| :----------------------------------------------------------- | :--- | :----- | :------- | :------- |
887-
| [List](https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1) | Y | *N* | *N* ||
888-
| [ArrayList](https://docs.microsoft.com/dotnet/api/system.collections.arraylist) (非泛型) | Y | *N* | *N* ||
889-
| [Vector](https://docs.microsoft.com/dotnet/api/system.collections.vector) (非泛型) | N | *N* | Y ||
890-
| [LinkedList](https://docs.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1) | Y | *N* | *N* ||
891-
| [ConcurrentBag](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentbag-1) | *N* | *N* | Y ||
892-
| [HashSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1) | *N* | *N* | *N* ||
893-
| [SortedSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.sortedset-1) | Y | Y | *N* ||
894-
| [ConcurrentDictionary](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentdictionary-2) | Y | *N* | Y ||
895-
| [Dictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) | *N* | *N* | *N* ||
896-
| [SortedDictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2) | Y | Y | *N* ||
897-
| [Stack](https://docs.microsoft.com/dotnet/api/system.collections.generic.stack-1) | *N* | *N* | *N* ||
898-
| [Queue](https://docs.microsoft.com/dotnet/api/system.collections.generic.queue-1) | *N* | *N* | *N* ||
899-
| [ConcurrentQueue](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentqueue-1) | *N* | *N* | Y ||
900-
| [ConcurrentStack](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentstack-1) | *N* | *N* | Y ||
901-
| [HashTable](https://learn.microsoft.com/zh-cn/dotnet/api/system.collections.hashtable?view=net-6.0) | N | Y | Y ||
902-
884+
<!--rehype:wrap-class=col-span-2 row-span-2-->
885+
| 集合 | 有序 | 已排序 | 线程安全 | 允许空值 |
886+
| :----------------------------------------------------------- |:----| :----- | :------- | :------- |
887+
| [List](https://docs.microsoft.com/dotnet/api/system.collections.generic.list-1) | Y | *N* | *N* ||
888+
| [ArrayList](https://docs.microsoft.com/dotnet/api/system.collections.arraylist) (非泛型) | Y | *N* | *N* ||
889+
| [Vector](https://docs.microsoft.com/dotnet/api/system.collections.vector) (非泛型) | *N* | *N* | Y ||
890+
| [LinkedList](https://docs.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1) | Y | *N* | *N* ||
891+
| [ConcurrentBag](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentbag-1) | *N* | *N* | Y ||
892+
| [HashSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.hashset-1) | *N* | *N* | *N* ||
893+
| [SortedSet](https://docs.microsoft.com/dotnet/api/system.collections.generic.sortedset-1) | *N* | Y | *N* ||
894+
| [ConcurrentDictionary](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentdictionary-2) | Y | *N* | Y ||
895+
| [Dictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.dictionary-2) | *N* | *N* | *N* ||
896+
| [SortedDictionary](https://docs.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2) | Y | Y | *N* ||
897+
| [Stack](https://docs.microsoft.com/dotnet/api/system.collections.generic.stack-1) | *N* | *N* | *N* ||
898+
| [Queue](https://docs.microsoft.com/dotnet/api/system.collections.generic.queue-1) | *N* | *N* | *N* ||
899+
| [ConcurrentQueue](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentqueue-1) | *N* | *N* | Y ||
900+
| [ConcurrentStack](https://docs.microsoft.com/dotnet/api/system.collections.concurrent.concurrentstack-1) | *N* | *N* | Y ||
901+
| [HashTable](https://learn.microsoft.com/zh-cn/dotnet/api/system.collections.hashtable?view=net-6.0) | N | Y | Y ||
902+
<!--rehype:className=show-header-->
903903
### List
904904

905905
```cs

0 commit comments

Comments
 (0)