å¯ä½ç¨ãèµ·ãããªã(éå¤)ã¤ã³ã¯ãªã¡ã³ãããã¯ãªã¡ã³ã(non-modified increment/decrement)ã§ãã å®éã以ä¸ã®ãããªã³ã¼ããå®è¡ãããã¨ãã§ãã¾ãã var a = 10; Console.WriteLine(-~a); // 11 Console.WriteLine(~-a); // 9 ideoneã¨ãã§ãå®è¡ã§ãã¾ãã ideoneã¯ç¢ºãMonoã§åãã¦ããã¯ãã§ãMonoã®C#ã³ã³ãã¤ã©ã¼ãã²ããã«å¯¾å¿ãã¦ããã¨ãããã¨ã§ããã ããã¤ã¯ãæ¼ç®åã®å½¢ç¶ããtadpole (ãªã¿ãã¸ã£ã¯ã·)ã¨ãè¨ããããããã¾ãã (?. ãªãããã¨ã«ãã¹ ãã¬ã¹ãªã¼ã®é«ªåã£ã½ãè¦ããã¨ãã話ããelvisæ¼ç®åã¨ãå¼ã°ãããããã¾ããããã¨å種ã®æ称ã§ãã) x + 1ã§ãããããªããã¨æãããããã¾ãããã åé
æ¼ç®åãªã®ã§åªå
度ãé«ãã¨ããå©ç¹ãããã¾ãã (x
{{#tags}}- {{label}}
{{/tags}}