VS 2005 - 案例敏感度? [英] VS 2005 - Case Sensitivity?

查看:53
本文介绍了VS 2005 - 案例敏感度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS 2005中是否有任何选项可以更好地处理C#中的案例问题(类似

到VB.Net)?

解决方案

不确定我理解你的问题.... C#是,通过它的性质案例

敏感....所以这不是一个可配置的选项...... br />
gregory_may写道:

VS 2005中是否有任何选项可以更好地处理C#中的案例问题(类似于VB.Net)?



>在VS 2005中是否有任何选项可以更好地处理C#中的案例问题

(类似于VB.Net)?




你不想要自从编写此类代码后就这样做了:


MyType myType = new MyType();


是一种广泛使用的语言-wise)练习......或者我是否b / b
误解了你的问题?


这听起来像你问的是有没有我可以使C#

语言像Visual Basic.NET一样不区分大小写?


答案是,当然,不,你不能。 C#是区分大小写的,因为它是
C ++,Javascript和Unix文件系统。这是件好事!

Peter


-

联合创始人,Eggheadcafe.com开发者门户网站:
http://www.eggheadcafe.com

UnBlog :
http://petesbloggerama.blogspot.com



" gregory_may"写道:

VS 2005中是否有任何选项可以更好地处理C#中的案例问题(类似于VB.Net)?



Is there any options in VS 2005 to better handle case issues in C# (Similar
to VB.Net)?

解决方案

Not sure that I understand your question .... C# is, by it''s nature case
sensitive .... so that is not a configurable option ....
gregory_may wrote:

Is there any options in VS 2005 to better handle case issues in C# (Similar
to VB.Net)?



> Is there any options in VS 2005 to better handle case issues in C#

(Similar to VB.Net)?



You would not want to do that since writing code of this kind:

MyType myType = new MyType();

Is a widespread (and valid, language-wise) practice... Or did I
misunderstand your question?


It sounds like what you are asking is "Is there any way I can make the C#
language be case-insensitive like Visual Basic.NET?"

The answer is, of course, no, you cannot. C# is case - sensitive,, as is
C++, Javascript, and the Unix filesystem. That''s a good thing!
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"gregory_may" wrote:

Is there any options in VS 2005 to better handle case issues in C# (Similar
to VB.Net)?



这篇关于VS 2005 - 案例敏感度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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