C#ã®å¼æ¨ã«ã¤ãã¦åå¼·ããªãããåå¼·ãããã¨ã®ç解ãæ¸ãã¦ããã¾ãã å¼æ¨ã£ã¦ãªã«ï¼ å¼æ¨(Expression tree)ã¨ã¯ãå¼(æ°å¼)ãæ¨æ§é ã§è¡¨ãããã®ã®äºã§ãã 以ä¸ã®æ§ãªå¼ãä¾ã«ãã¾ãã int result = 5 + 7 * 3; // result == 26 ãã®å¼ãã¿ãã¨ããå ç®æ¼ç®å(+)ãAddé¢æ°ãä¹ç®æ¼ç®å(*)ãMultiplyé¢æ°ã¨ããã¨ãããªæãã§ããã int result = Add(5, Multiply(7, 3)); ã¡ãã£ã¨æ¹è¡ã¨ãã¤ã³ãã³ããå ¥ãã¦ã¿ã¾ãã int result = Add( 5, Multiply( 7, 3 ) ); ãªãã¨ãªãæ¨æ§é ã«ã¿ãã¦ãã¾ãããï¼å³ã«ãã¦ã¿ã¾ãã ã¯ããã©ã¼ã¿ã¦ãæ¨ã§ãããã®ããã«å¼ã¯æ¨ã§è¡¨ç¾ãããã¨ãã§ãã¾ãããããå¼æ¨ã§ãã ãªã«ã«ã¤ããã®ï¼ å¼ãæ¨ã§è¡¨ãããã¨ããããã¾ããããããããã¯ä½ã®
{{#tags}}- {{label}}
{{/tags}}