3 ms·
It's actually pretty easy to "import" a C# class, either from a string or from a separate .cs file, with `Add-Type`, you don't even need to compile it first. S
by auxym 3y ago
It's actually pretty easy to "import" a C# class, either from a string or from a separate .cs file, with `Add-Type`, you don't even need to compile it first.
See: https://stackoverflow.com/a/24881346 https://stackoverflow.com/a/24881346