为什么在VB代码片段比C#更多特色? [英] Why code snippet in VB is more featured than in C#?

查看:123
本文介绍了为什么在VB代码片段比C#更多特色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我读到
http://msdn.microsoft.com /en-us/library/ms165394.aspx

有关VB:

摘录元素中,添加
参考元素和所有插入的
段时,该项目增加
参考
所需的子元素。

Inside the Snippet element, add the References element and all of the required child elements that add a reference to the project when the snippet is inserted.

有关C#

Visual C#代码片段要不要
支持参考部分,所以
参考对System.Windows.Forms.dll
必须添加到项目中手动

Visual C# code snippets to do not support the References section, so a reference to System.Windows.Forms.dll must be added to the project manually

什么根本的原因阻止C#支持像VB参考

What fundamental reason prevents C# to support References like VB ?

更新:我看到这个贴的 http://visualstudiogallery.msdn.microsoft.com/en-us/dc06b54c-b6c4 -4cf5-8203-a09c6979e881

Update: I saw this posted http://visualstudiogallery.msdn.microsoft.com/en-us/dc06b54c-b6c4-4cf5-8203-a09c6979e881

但它甚至不是全功能的代码片段作为参考代码段引用将允许您添加多个引用一次不只是一个接一个。

But it isn't even as full-featured as Code Snippet References as Code Snippet References will allow you to add multiple references at once not just one by one.

C#是理应比VB.NET更专业,人们所期望的C#进行更多功能的不受限或不专业意味着你必须做艰难地说一个手动:p

C# is supposedly more "professional" than VB.NET, one would expect C# to be more featured not more limited or does "professional" means you have to do it the hard way as said "MANUALLY" :p

在将C#团队赶上VB.NET的球队吗?

When will the C# team catch up with VB.NET team ?

推荐答案

C#的IDE团队的Karen刘回应这一场的反馈报告

Karen Liu of the C# IDE team responded to this in a feedback report:

感谢您提交这个建议。
这是我们都知道的和
曾试图做一个设计更改
请求之前。最终,根据
的成本来实现这个,我们是在产品周期
,我们做了
艰难的决定,既然引用
会是您需要
。添加只有一次,这并没有让
到VS2005。这一点我们是
期待在未来做虽然和
听证会反馈,这是有价值的。

Thanks for submitting this suggestion. This is something we are aware of and had tried to do as a Design Change Request before. Ultimately, based on cost to implement this where we were in the product cycle, we made the tough decision that since references would be something you would need to add only once, this did not make it into VS2005. This is something we are looking to do in the future though and hearing feedback on this is valuable.

只有9个upvotes,不足以使它成为一个受欢迎的请求。我建议你投上一票,他们的的注意这一点。

Only nine upvotes, not enough to make it a popular request. I'd recommend you vote it up, they do pay attention to that.

这篇关于为什么在VB代码片段比C#更多特色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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