The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
hi,
I'd like to ask a question about Reference:
1. Known Type's Name (String).
2. Known a public Method in the Class.
Assembly assem = Assembly.Load("Test");
Type type = assem.GetType("Test.TestClass");
Object obj = Activator.CreateInstance( type );
Object[] args = new Object[1];
args[0] = "Hello";
type.InvokeMember( "GetMessage", BindingFlags.InvokeMethod,
Type.DefaultBinder, obj, args );
// Then how to get the Return value?
namespace Test
{
public class Test
{
public String GetMessage( String message )
{
return message;
}
}
}
Thanks very much!