Extension methods not showing

∥☆過路亽.° 提交于 2019-12-06 03:54:42

Did you forget a using statement? Specifically you'd need "using path.to.my.namespace;" to get the extension methods in.

Another obvious thing to check for, in case anyone finds this post, is forgetting the "this" keyword in the first argument of your extension method. If you forget that, there isn't much the compiler can do to help you!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!