How do I get the Reflection TypeInfo of a C# 9 program that use Top-level statements?

前端 未结 0 1562
青春惊慌失措
青春惊慌失措 2020-12-06 09:46

Assume I have a simple script writing in C# 9 like this:

using System;
using System.IO;

// What to put in the ???
var exeFolder = Path.GetDirectoryName(typeo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题