evildictaitor wrote:
JChung2006 wrote:
GetType(Application).GetConstructor(New System.Type() {}).Invoke(New Object() {}).Run(f)
While your post is technically correct, using reflection just to inline a function is never a good idea.
Ya, but he did answer the question, that is a way to do it with just oneline of code in vb.net...