æ¦è¦ å ¨ãå¤åããªãå¤ããç°ãªãå ´æã§ä½åº¦ã使ãããäºãããã¾ãã ãã®ãããªå ´åãããªãã©ã«ããä½ç®æã«ãåæ£ããã¦æ¸ãã®ã§ã¯ãªããconst ã¨ãããã¼ã¯ã¼ããç¨ãã¦å®ç¾©ããå®æ°ã使ãã¹ãã§ãã ãã¤ã³ã const ãã¼ã¯ã¼ãã使ã£ã¦ãå®æ°ï¼å¤ã絶対ã«å¤ãããªã / å¤ãããªãå¤æ°ï¼ãå®ç¾©ã§ãã¾ãã è¦ãç®ã¯å¤æ°ã¨åãããã«ä½¿ãã¾ãããå¤ã®å¤æ´ã¯ã§ãã¾ããã ã³ã³ãã¤ã«çµæã¯ããªãã©ã«ããç´æ¥æ¸ããå ´åã¨åæ§ã«ãªãã¾ãã å®æ°ã¯ã宣è¨æã«å¤ããªãã©ã«ã§åæåã§ãããã®ã«ãã使ãã¾ãããï¼new ã§ããªããï¼ ããæè»ãªåæåãã§ãã readonly ï¼èªã¿åãå°ç¨ï¼å¤æ°ã¨ãããã®ãããã¾ãã å¤åããªãå¤ ä¾ãã°ã以ä¸ã®ãããªã³ã¼ããè¦ã¦ãã ããã int[] array = new int[5]; for(int i=0; i<5; ++i) array[i] = int.Par
{{#tags}}- {{label}}
{{/tags}}