开发者

How to get classes from different namespaces

开发者 https://www.devze.com 2022-12-22 02:09 出处:网络
In one class I have a library project with a file class1 with namespace : solution.Class1 and i have another class library project in the same solution with a file class2

In one class I have a library project with a file class1 with namespace : solution.Class1

and i have another class library project in the same solution with a file class2 with namespace : solution.Class2

How i get o开发者_JAVA技巧bjects from solution.Class1 namespace in class2 file ? It is not visible.


You need to add a reference to the project 1 from project 2. Right click on project 2 and you should see the dialog option.

0

精彩评论

暂无评论...
验证码 换一张
取 消