CSharp · Console
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Text;
using System.Collections.Concurrent;
using System.Globalization;
using System.Reflection;
public class program
{
public static void Main()
{
var test = new Test();
Type thisType = test.GetType();
MethodInfo theMethod = thisType.GetMethod("Boop");
theMethod.Invoke(test , new object[0]);
}
public class Test
{
public void Boop()
{
Console.WriteLine("Boop");
}
}
}