I have an assembly which is loaded using Assembly.LoadFrom. This assembly contains several static method, how can I invoke them once the assembly is loaded correctly.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReflectionSandbox
{
public class Class1
{
public static void TestAPI()
{
Console.WriteLine("TestAPI");
}
}
}
The
nullis the instance (this) argument; it must be null for static methods.