I need to get type of TestClass from AnotherProject.GetClassType method but I get null
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
namespace TestProject.MyClasses.Test
{
public class TestClass
{
public void Print()
{
Console.Write("Hello World");
}
}
}
but I get type = null
I try this one Type type = Type.GetType("TestProject.MyClasses.Test.TestClass, TestProject");
Aucun commentaire:
Enregistrer un commentaire