我说在Visual Studio2010中没有C# 4命名参数的智能感知是正确的吗?
例如,如果我有以下方法签名:
public static List<Person> GetPerson(string personId = null, string postCode = null, string lastName = null)当我在方法调用中输入参数名称时,我会认为我会得到智能感知。
List<Person> people = GetPersons(personId : "abc", [Intellisense appear as I type p..] 或者这是不可能的,因为如果您按位置指定参数,Intellisense将会阻碍您的工作?
发布于 2011-02-16 09:51:49
你的智能设置可能有问题,请看这篇文章:
http://blog.meidianto.com/2010/05/10/vs2010-tips-5-no-intellisense-in-visual-studio-2010-fix-it-now/
如果问题仍然存在,请尝试修复或重新安装Visual Studio。
发布于 2011-02-15 00:39:38
不,你说的不对……我不知道你在说什么,但他们确实出现在我面前。

https://stackoverflow.com/questions/4994637
复制相似问题