ï¼æã«ä¸å¤ã³ã¬ã¯ã·ã§ã³ã«ã¤ãã¦å ±åãã¦ãããAPIãé²åããå é¨ã®ä»çµã¿ã«ã¤ãã¦å¤ãã®ãã¨ãããã£ã¦ãããæåã«æãæè¿ã®ãªãªã¼ã¹ã«ãããå¤æ´ç¹ã®è¦ç´ï¼ ã³ã³ã¹ãã©ã¯ã¿ ä¸å¤ã®ã³ã¬ã¯ã·ã§ã³ã¯ãã¾ã ã³ã³ã¹ ãã©ã¯ã¿ã¼ãæä¾ããªããã空ã®ãªãã¸ã§ã¯ãã®ä½¿ç¨ã¯ããã¯ãä¸è¦ã§ããã以åã¯ããã®ãããªã³ã¼ãã ã£ãã var list = ImmutableList<int>.Empty.Add(1, 2, 3); æ°ãªãªã¼ã¹ã«ã¯ãCreateã¨ããéçãªãã¡ã¯ããªã¼ã¡ã½ãããæä¾ãããæ±ç¨çãªåæ¨è«ã使ããã¨ãã§ããå¼ãçããªãã var list = ImmutableList.Create(1, 2, 3); äºææ§ ç±ãè°è«ããããããã¯ãIList<T> interfaceã®å®è£ ã§ãããã¤ã³ã¿ã¼ãã§ã¤ã¹ã®æ¯æè ã¯ãããã IReadOnlyList<T>ã®å°å ¥ä»¥åã®ã©ã¤ãã©ãªã¨ã®ç¸äºéç¨ã«å¿
{{#tags}}- {{label}}
{{/tags}}