Вход на сайт
C# - pattern matching - many discards
10465 просмотров
Перейти к просмотру всей ветки
alex445 коренной житель
в ответ alex445 10.03.24 18:38, Последний раз изменено 10.03.24 18:58 (alex445)
Да, кстати, что там в Джаве в качестве аналога деревьев выражений?
"Most times you're going to want Func or Action if all that needs to happen is to run some code. You need Expression when the code needs to be analyzed, serialized, or optimized before it is run. Expression is for thinking about code, Func/Action is for running it."
Я уже не говорю про динамический LINQ.