📅  最后修改于: 2022-03-11 14:49:17.559000             🧑  作者: Mango
namespace test
{
public class Class1
{
public string[] AllNameSpace()
{
return Assembly.GetExecutingAssembly().GetTypes().Select(x => x.Namespace).ToArray();
}
}
}