找不到类型或命名空间名称'CustomMethods'(您是否缺少using指令或程序集引用?) [英] The type or namespace name 'CustomMethods' could not be found (are you missing a using directive or an assembly reference?)

查看:85
本文介绍了找不到类型或命名空间名称'CustomMethods'(您是否缺少using指令或程序集引用?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,

请帮我找到CustomMethods的命名空间

CustomMethods Methods = new CustomMethods();

sir,
please help me to find the namespace for CustomMethods
CustomMethods Methods = new CustomMethods();

推荐答案

我们不能 - 名称CustomMethods意味着它是您自己的类,或者提供给您的类。您需要查看已给出的源代码(如果有)并找出它所在的命名空间/程序集。然后您可以按错误建议执行并添加适当的引用或使用语句。
We can't - the name "CustomMethods" implies it is your own class, or one provided to you. You need to look at the source code (if any) you have been given and find out what namespace / assembly it is in. You can then do as the error suggests and add the appropriate reference or using statement.


这篇关于找不到类型或命名空间名称'CustomMethods'(您是否缺少using指令或程序集引用?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆