$source = @" public class BasicTestererr { public static int Add(int a, int b) { return (a - b); } public int Multiply(int a, int b) { return (a * b); } } "@ Add-Type -TypeDefinition $source Add(4, 1)
Add
Multiply
$value = [BasicTestererr].Add(4, 1)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)