メモ。実行中のクラス名とメソッド名の求め方。
Module Module1
Sub Main()
With System.Reflection.MethodInfo.GetCurrentMethod
Console.WriteLine(.DeclaringType)
Console.WriteLine(.Name)
End With
End Sub
End Module
Cで言うところのマクロ(#DEFINE)がほしいなあ…