Is it possible to call C# functions with Julia?

There are a couple ways that I’ve sorted this out:

  1. The DotNET.jl package
  2. Use PowerShell. For example I can call my .Net Managed DLL using the following code:
dllfile = raw"c:\Support.dll" #managed .net dll

cmd = """&{
               Add-Type -Path "$dllfile";

               \$is_inverted=\$false;
               \$sled=[Support.SledType]::Frontal;

               \$target=[Support.SystemData.Result]::TargetResult(\$is_inverted, \$sled);

               \$target_sample_rate=\$target.dT;

         }"""

run(`powershell $cmd`)