4 ms·
There is an entire API for building up dynamic expression trees and compiling them at runtime.
by nightski 7y ago
There is an entire API for building up dynamic expression trees and compiling them at runtime.
- mythz 7y ago...and zero for the inverse, which is why Expression Trees are generated by the C# compiler at compile time, not decompiled at runtime.
- nightski 7y agoYou are right (as far as built in support goes), but it actually could be a fun project to take IL and build up C# expression trees from it. Especially given there are plenty of IL to C# de-compilation libraries out there.