收录日期:2019/03/26 03:00:03 时间:2009-07-29 18:35:33 标签:asp.net-mvc,visual-studio-2008

The hint for extension methods on a normal class file and the one shown on my aspx page do not match.

The hint shown on the aspx page also shows the type that is being extended. Its annoying.

Imaget

Can anybody tell me what wrong with my Visual Studio? I am using VS 2008 am I missing any fixes?

There's nothing wrong with your Visual Studio, that's just how extension methods are shown. The object (in your case the HtmlHelper object) is actually a parameter of the extension method, which is why you see it that way.