Вход на сайт
C# - pattern matching - many discards
22611 просмотров
Перейти к просмотру всей ветки
в ответ 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.