Calling methods from different Projects in one Solution

后端 未结 1 984
南笙
南笙 2021-02-19 15:55

There are 3 Projects in 1 Solution. Main manipulations I make from the main file in the 1st Project. However I need to call methods and use classes from the 3rd Project. For exa

1条回答
  •  借酒劲吻你
    2021-02-19 16:56

    You need to add a reference to the 3rd project in your 1st project. To do this, right-click on your project, select "Add Reference," then select the project in your solution. Once your main project references the 3rd project, then you can access its public types.

    0 讨论(0)
提交回复
热议问题