Answers for "c# get all namespaces in assembly"

C#
0

c# get all namespaces in assembly

namespace test
{
    public class Class1
    {
        public string[] AllNameSpace()
        {
            return Assembly.GetExecutingAssembly().GetTypes().Select(x => x.Namespace).ToArray();
        }
    }
}
Posted by: Guest on September-02-2020

Code answers related to "c# get all namespaces in assembly"

C# Answers by Framework

Browse Popular Code Answers by Language