阅读背景:

C#支持项目范围的默认命名空间是否像VB.NET一样导入?

来源:互联网 

I am a recently converted VB developer to C#, but there is one thing thus far that I haven't been able to find. In VB when I setup a new project I can specify the namespaces used in the project and add them to the default imports for all classes (so everything automatically has them as if I added "Imports System.Data.OracleClient" to each class). With C# I've found that I'm always typing these in for each new class. Is there a way to setup defaults for projects so it at least appends those to every class file for me automatically?I am a recently converted VB developer to C#, b




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: