我在名称Inventory_Software.BL为BL的命名空间中有一个类,我想在Inventory_Software.PL.Item_Master类中访问此类,但是尽管在该类中使用了命名空间名称using Inventory_Software.BL之前的语法
,我收到一个错误:
'Inventory_Software.BL' is a 'namespace' but is used like a 'type'
Run Code Online (Sandbox Code Playgroud)
每当我尝试用语法初始化BL类时:
BL businesslayer = new BL();
Run Code Online (Sandbox Code Playgroud)
谁能告诉我为什么?