{"id":3588,"date":"2025-04-20T18:42:20","date_gmt":"2025-04-20T10:42:20","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=3588"},"modified":"2025-04-20T18:42:20","modified_gmt":"2025-04-20T10:42:20","slug":"c-%e9%9b%86%e5%90%88%ef%bc%88collections%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/04\/20\/c-%e9%9b%86%e5%90%88%ef%bc%88collections%ef%bc%89\/","title":{"rendered":"C# \u96c6\u5408\uff08Collections\uff09"},"content":{"rendered":"\n<p>\u672c\u7ae0\u8282\u9488\u5bf9<strong>C# \u96c6\u5408\uff08Collections\uff09\u505a\u5168\u9762\u3001\u8be6\u7ec6\u7684\u77e5\u8bc6\u7ed3\u6784\u6574\u7406<\/strong>\uff0c\u9002\u5408\u7cfb\u7edf\u5b66\u4e60\u6216\u5f00\u53d1\u53c2\u8003\u3002\u7ed3\u5408 <strong>\u5b98\u65b9\u6587\u6863<\/strong>\u3001<strong>\u5b9e\u9645\u5f00\u53d1\u7ecf\u9a8c<\/strong> \u548c <strong>\u9ad8\u7ea7\u6280\u5de7<\/strong>\uff0c\u6db5\u76d6\u4ece\u57fa\u7840\u5230\u9ad8\u7ea7\u7684\u5404\u7c7b\u96c6\u5408\u7c7b\u578b\u3001\u5dee\u5f02\u3001\u5e94\u7528\u573a\u666f\u3001\u7ebf\u7a0b\u5b89\u5168\u3001\u6027\u80fd\u6bd4\u8f83\u7b49\u5185\u5bb9\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1\ufe0f\u20e3 \u96c6\u5408\u5206\u7c7b\u6982\u89c8<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5206\u7c7b<\/th><th>\u547d\u540d\u7a7a\u95f4<\/th><th>\u662f\u5426\u6cdb\u578b<\/th><th>\u662f\u5426\u7ebf\u7a0b\u5b89\u5168<\/th><th>\u793a\u4f8b<\/th><\/tr><\/thead><tbody><tr><td>\u975e\u6cdb\u578b\u96c6\u5408<\/td><td><code>System.Collections<\/code><\/td><td>\u274c<\/td><td>\u274c<\/td><td><code>ArrayList<\/code>, <code>Hashtable<\/code><\/td><\/tr><tr><td>\u6cdb\u578b\u96c6\u5408<\/td><td><code>System.Collections.Generic<\/code><\/td><td>\u2705<\/td><td>\u274c<\/td><td><code>List&lt;T&gt;<\/code>, <code>Dictionary&lt;TKey,TValue&gt;<\/code><\/td><\/tr><tr><td>\u5e76\u53d1\u96c6\u5408<\/td><td><code>System.Collections.Concurrent<\/code><\/td><td>\u2705<\/td><td>\u2705<\/td><td><code>ConcurrentDictionary<\/code>, <code>BlockingCollection<\/code><\/td><\/tr><tr><td>\u7279\u6b8a\u96c6\u5408<\/td><td><code>System.Collections.ObjectModel<\/code>, <code>System.Collections.Specialized<\/code><\/td><td>\u2705\/\u274c<\/td><td>\u90e8\u5206\u652f\u6301<\/td><td><code>ObservableCollection&lt;T&gt;<\/code>, <code>NameValueCollection<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udd17 \u5b98\u65b9\u6587\u6863\u6c47\u603b\uff1ahttps:\/\/learn.microsoft.com\/en-us\/dotnet\/standard\/collections\/<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2\ufe0f\u20e3 \u975e\u6cdb\u578b\u96c6\u5408\uff08System.Collections\uff09<\/h2>\n\n\n\n<p>\u9002\u7528\u4e8e .NET \u65e9\u671f\u7248\u672c\uff0c\u4e3a\u4e86\u517c\u5bb9\u65e7\u4ee3\u7801\u4fdd\u7559\uff0c\u4f46<strong>\u4e0d\u63a8\u8350\u65b0\u9879\u76ee\u4f7f\u7528<\/strong>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7c7b\u540d<\/th><th>\u529f\u80fd<\/th><th>\u7f3a\u70b9<\/th><\/tr><\/thead><tbody><tr><td><code>ArrayList<\/code><\/td><td>\u52a8\u6001\u6570\u7ec4<\/td><td>\u88c5\u7bb1\u62c6\u7bb1\uff0c\u6027\u80fd\u4f4e<\/td><\/tr><tr><td><code>Hashtable<\/code><\/td><td>\u57fa\u4e8e\u952e\u503c\u5bf9\u7684\u54c8\u5e0c\u8868<\/td><td>\u952e\u548c\u503c\u90fd\u662f object\uff0c\u9700\u7c7b\u578b\u8f6c\u6362<\/td><\/tr><tr><td><code>Queue<\/code><\/td><td>FIFO \u961f\u5217<\/td><td>\u975e\u6cdb\u578b<\/td><\/tr><tr><td><code>Stack<\/code><\/td><td>LIFO \u5806\u6808<\/td><td>\u975e\u6cdb\u578b<\/td><\/tr><tr><td><code>SortedList<\/code><\/td><td>\u6709\u5e8f\u5b57\u5178<\/td><td>\u975e\u6cdb\u578b\uff0c\u6548\u7387\u7565\u4f4e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc \u793a\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ArrayList arr = new ArrayList();\narr.Add(100);\narr.Add(\"text\");<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3\ufe0f\u20e3 \u6cdb\u578b\u96c6\u5408\uff08System.Collections.Generic\uff09<\/h2>\n\n\n\n<p>\u4e3b\u6d41\u5f00\u53d1\u4e2d\u6700\u5e38\u7528\u96c6\u5408\u7c7b\u3002\u4f18\u52bf\u5305\u62ec\u7c7b\u578b\u5b89\u5168\u3001\u9ad8\u6027\u80fd\u3001LINQ \u652f\u6301\u3001\u6e05\u6670\u7684\u7ed3\u6784\u8bbe\u8ba1\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u6cdb\u578b\u96c6\u5408\u7c7b\u53ca\u5e94\u7528\u573a\u666f<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7c7b<\/th><th>\u63cf\u8ff0<\/th><th>\u7279\u70b9<\/th><\/tr><\/thead><tbody><tr><td><code>List&lt;T&gt;<\/code><\/td><td>\u53ef\u53d8\u957f\u5ea6\u6570\u7ec4<\/td><td>\u5feb\u901f\u7d22\u5f15<\/td><\/tr><tr><td><code>LinkedList&lt;T&gt;<\/code><\/td><td>\u53cc\u5411\u94fe\u8868<\/td><td>\u9002\u5408\u9891\u7e41\u63d2\u5165\u5220\u9664<\/td><\/tr><tr><td><code>Dictionary&lt;TKey,TValue&gt;<\/code><\/td><td>\u54c8\u5e0c\u8868\u7ed3\u6784<\/td><td>\u5feb\u901f\u952e\u503c\u67e5\u627e<\/td><\/tr><tr><td><code>SortedDictionary&lt;TKey,TValue&gt;<\/code><\/td><td>\u81ea\u52a8\u6392\u5e8f\u7684\u5b57\u5178<\/td><td>\u6309\u952e\u6392\u5e8f<\/td><\/tr><tr><td><code>SortedList&lt;TKey,TValue&gt;<\/code><\/td><td>\u6709\u5e8f\u952e\u503c\u5bf9\u96c6\u5408<\/td><td>\u8f83\u5feb\u68c0\u7d22\u4f46\u63d2\u5165\u6162<\/td><\/tr><tr><td><code>Queue&lt;T&gt;<\/code><\/td><td>\u5148\u8fdb\u5148\u51fa<\/td><td>\u9002\u5408\u4efb\u52a1\u5904\u7406<\/td><\/tr><tr><td><code>Stack&lt;T&gt;<\/code><\/td><td>\u540e\u8fdb\u5148\u51fa<\/td><td>\u9002\u5408\u64a4\u9500\u64cd\u4f5c<\/td><\/tr><tr><td><code>HashSet&lt;T&gt;<\/code><\/td><td>\u5143\u7d20\u552f\u4e00<\/td><td>\u6570\u5b66\u96c6\u5408\u8fd0\u7b97<\/td><\/tr><tr><td><code>SortedSet&lt;T&gt;<\/code><\/td><td>\u81ea\u52a8\u6392\u5e8f\u4e14\u65e0\u91cd\u590d<\/td><td>\u9ad8\u7ea7\u96c6\u5408\u5904\u7406<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc \u793a\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var nums = new List&lt;int&gt; {1, 2, 3, 4};\nvar dict = new Dictionary&lt;string, int&gt; {\n    {\"a\", 1}, {\"b\", 2}\n};<\/code><\/pre>\n\n\n\n<p>\ud83d\udd17 <code>List&lt;T&gt;<\/code> \u5b98\u65b9\u6587\u6863\uff1ahttps:\/\/learn.microsoft.com\/en-us\/dotnet\/api\/system.collections.generic.list-1<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">4\ufe0f\u20e3 \u5e76\u53d1\u96c6\u5408\uff08System.Collections.Concurrent\uff09<\/h2>\n\n\n\n<p>\u7528\u4e8e\u591a\u7ebf\u7a0b\/\u5f02\u6b65\u573a\u666f\uff0c\u5185\u90e8\u91c7\u7528\u9501\u6216\u65e0\u9501\u673a\u5236\u5b9e\u73b0\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u7c7b<\/th><th>\u63cf\u8ff0<\/th><th>\u7279\u70b9<\/th><\/tr><\/thead><tbody><tr><td><code>ConcurrentDictionary&lt;TKey,TValue&gt;<\/code><\/td><td>\u7ebf\u7a0b\u5b89\u5168\u54c8\u5e0c\u8868<\/td><td>\u9ad8\u5e76\u53d1\u5199\u5165<\/td><\/tr><tr><td><code>BlockingCollection&lt;T&gt;<\/code><\/td><td>\u63d0\u4f9b\u963b\u585e\u6dfb\u52a0\/\u79fb\u9664<\/td><td>\u53ef\u9650\u5236\u5bb9\u91cf\uff0c\u9002\u5408\u751f\u4ea7\u8005\u6d88\u8d39\u8005<\/td><\/tr><tr><td><code>ConcurrentQueue&lt;T&gt;<\/code><\/td><td>\u7ebf\u7a0b\u5b89\u5168 FIFO<\/td><td>\u975e\u963b\u585e<\/td><\/tr><tr><td><code>ConcurrentStack&lt;T&gt;<\/code><\/td><td>\u7ebf\u7a0b\u5b89\u5168 LIFO<\/td><td>\u975e\u963b\u585e<\/td><\/tr><tr><td><code>ConcurrentBag&lt;T&gt;<\/code><\/td><td>\u65e0\u5e8f\u7ebf\u7a0b\u5b89\u5168\u96c6\u5408<\/td><td>\u9ad8\u6548\u6279\u91cf\u5904\u7406<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ud83d\udccc \u793a\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var dict = new ConcurrentDictionary&lt;string, int&gt;();\ndict.TryAdd(\"k1\", 1);\ndict&#91;\"k2\"] = 2;<\/code><\/pre>\n\n\n\n<p>\ud83d\udd17 \u5b98\u65b9\u6587\u6863\uff1ahttps:\/\/learn.microsoft.com\/en-us\/dotnet\/standard\/collections\/thread-safe\/<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">5\ufe0f\u20e3 \u7279\u6b8a\u96c6\u5408<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">5.1 ObservableCollection\uff08\u5e38\u7528\u4e8e MVVM\uff09<\/h3>\n\n\n\n<p>\u5b9e\u73b0 <code>INotifyCollectionChanged<\/code>\uff0c\u9002\u5408\u6570\u636e\u7ed1\u5b9a\u3002<\/p>\n\n\n\n<p>\ud83d\udd17 https:\/\/learn.microsoft.com\/en-us\/dotnet\/api\/system.collections.objectmodel.observablecollection-1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ObservableCollection&lt;string&gt; items = new ObservableCollection&lt;string&gt;();\nitems.CollectionChanged += (s, e) =&gt; Console.WriteLine(\"Changed!\");\nitems.Add(\"Hello\");<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">5.2 NameValueCollection &amp; StringCollection<\/h3>\n\n\n\n<p>\u9002\u7528\u4e8e WebForm\u3001\u4f20\u7edf\u914d\u7f6e\u4f20\u9012\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NameValueCollection queryParams = new NameValueCollection();\nqueryParams.Add(\"key\", \"value\");<\/code><\/pre>\n\n\n\n<p>\ud83d\udd17 https:\/\/learn.microsoft.com\/en-us\/dotnet\/api\/system.collections.specialized.namevaluecollection<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">6\ufe0f\u20e3 \u96c6\u5408\u64cd\u4f5c\u65b9\u6cd5<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Add<\/code>, <code>Remove<\/code>, <code>Clear<\/code>, <code>Contains<\/code><\/li>\n\n\n\n<li><code>Insert<\/code>, <code>IndexOf<\/code>\uff08\u9002\u7528\u4e8e List\uff09<\/li>\n\n\n\n<li><code>TryGetValue<\/code>\uff08\u9002\u7528\u4e8e Dictionary\uff09<\/li>\n\n\n\n<li>\u96c6\u5408\u904d\u5386\uff08<code>foreach<\/code>\uff09<\/li>\n\n\n\n<li>\u96c6\u5408\u62f7\u8d1d\uff08<code>ToArray()<\/code>, <code>Clone()<\/code>\uff09<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>if (!dict.ContainsKey(\"test\")) {\n    dict.Add(\"test\", 123);\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">7\ufe0f\u20e3 LINQ \u4e0e\u96c6\u5408<\/h2>\n\n\n\n<p>LINQ \u662f .NET \u63d0\u4f9b\u7684\u5f3a\u5927\u67e5\u8be2\u673a\u5236\uff0c\u5e38\u7528\u4e8e\u96c6\u5408\u67e5\u8be2\u3001\u7b5b\u9009\u3001\u6392\u5e8f\u3001\u5206\u7ec4\u7b49\u3002<\/p>\n\n\n\n<p>\ud83d\udccc \u793a\u4f8b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>var even = nums.Where(n =&gt; n % 2 == 0).ToList();\nvar grouped = people.GroupBy(p =&gt; p.Age);<\/code><\/pre>\n\n\n\n<p>\ud83d\udd17 LINQ \u6559\u7a0b\uff1ahttps:\/\/learn.microsoft.com\/en-us\/dotnet\/csharp\/programming-guide\/concepts\/linq\/<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">8\ufe0f\u20e3 \u6027\u80fd\u4e0e\u9009\u62e9\u5efa\u8bae<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u9700\u6c42<\/th><th>\u63a8\u8350\u96c6\u5408<\/th><th>\u539f\u56e0<\/th><\/tr><\/thead><tbody><tr><td>\u5feb\u901f\u8bbf\u95ee\u7d22\u5f15<\/td><td><code>List&lt;T&gt;<\/code><\/td><td>O(1) \u8bbf\u95ee\u65f6\u95f4<\/td><\/tr><tr><td>\u9891\u7e41\u63d2\u5165\u5220\u9664<\/td><td><code>LinkedList&lt;T&gt;<\/code><\/td><td>\u94fe\u8868\u64cd\u4f5c\u5feb<\/td><\/tr><tr><td>\u65e0\u91cd\u590d\u96c6\u5408<\/td><td><code>HashSet&lt;T&gt;<\/code><\/td><td>\u96c6\u5408\u6570\u5b66\u8fd0\u7b97\u9ad8\u6548<\/td><\/tr><tr><td>\u6392\u5e8f\u96c6\u5408<\/td><td><code>SortedSet&lt;T&gt;<\/code>, <code>SortedList<\/code><\/td><td>\u81ea\u52a8\u6392\u5e8f<\/td><\/tr><tr><td>\u952e\u503c\u5bf9\u67e5\u8be2<\/td><td><code>Dictionary<\/code><\/td><td>\u54c8\u5e0c\u67e5\u8be2\u5feb<\/td><\/tr><tr><td>\u591a\u7ebf\u7a0b\u5171\u4eab\u6570\u636e<\/td><td><code>ConcurrentDictionary<\/code><\/td><td>\u65e0\u9501\u9ad8\u6027\u80fd<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">9\ufe0f\u20e3 \u96c6\u5408\u6269\u5c55\u65b9\u6cd5\u4e0e\u81ea\u5b9a\u4e49<\/h2>\n\n\n\n<p>C# \u652f\u6301\u4e3a\u96c6\u5408\u7f16\u5199\u6269\u5c55\u65b9\u6cd5\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static class CollectionExtensions\n{\n    public static void AddRange&lt;T&gt;(this ICollection&lt;T&gt; collection, IEnumerable&lt;T&gt; items)\n    {\n        foreach (var item in items)\n            collection.Add(item);\n    }\n}<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>list.AddRange(new&#91;] { 4, 5, 6 });<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd1f \u81ea\u5b9a\u4e49\u96c6\u5408\u7c7b\uff08\u7ee7\u627f\u4e0e\u5c01\u88c5\uff09<\/h2>\n\n\n\n<p>\u4f60\u53ef\u4ee5\u7ee7\u627f\u73b0\u6709\u96c6\u5408\u7c7b\u6216\u5b9e\u73b0 <code>ICollection&lt;T&gt;<\/code>, <code>IDictionary&lt;TKey,TValue&gt;<\/code> \u4ee5\u5b9a\u5236\u903b\u8f91\uff08\u5982\u53ea\u8bfb\u3001\u5e26\u65e5\u5fd7\u7b49\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public class ReadOnlyList&lt;T&gt; : List&lt;T&gt;\n{\n    public new void Add(T item)\n    {\n        throw new InvalidOperationException(\"\u53ea\u8bfb\u96c6\u5408\u65e0\u6cd5\u6dfb\u52a0\u5143\u7d20\");\n    }\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">\ud83d\udccc \u5b9e\u6218\u5efa\u8bae<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6c38\u8fdc\u9996\u9009\u6cdb\u578b\u96c6\u5408\uff08<code>List&lt;T><\/code> \u7b49\uff09<\/li>\n\n\n\n<li>\u591a\u7ebf\u7a0b\u573a\u666f\u9009\u7528 <code>System.Collections.Concurrent<\/code><\/li>\n\n\n\n<li>UI \u7ed1\u5b9a\u63a8\u8350 <code>ObservableCollection&lt;T><\/code><\/li>\n\n\n\n<li>\u6027\u80fd\u654f\u611f\u533a\u57df\u907f\u514d\u9891\u7e41\u4f7f\u7528 <code>ToList()<\/code>\u3001<code>AddRange()<\/code> \u7b49\u521b\u5efa\u526f\u672c\u64cd\u4f5c<\/li>\n\n\n\n<li>\u5408\u7406\u9009\u62e9\u96c6\u5408\u53ef\u63d0\u5347\u7a0b\u5e8f\u6548\u7387\u4e0e\u53ef\u7ef4\u62a4\u6027<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7ae0\u8282\u9488\u5bf9C# \u96c6\u5408\uff08Collections\uff09\u505a\u5168\u9762\u3001\u8be6\u7ec6\u7684\u77e5\u8bc6\u7ed3\u6784\u6574\u7406\uff0c\u9002\u5408\u7cfb\u7edf\u5b66\u4e60\u6216\u5f00\u53d1\u53c2\u8003\u3002\u7ed3\u5408 \u5b98\u65b9\u6587 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3589,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[83],"tags":[],"class_list":["post-3588","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=3588"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3588\/revisions"}],"predecessor-version":[{"id":3590,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3588\/revisions\/3590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media\/3589"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=3588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=3588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=3588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}