C# namespaces in web.config

前端 未结 2 1573
旧时难觅i
旧时难觅i 2021-01-18 18:36

Coming from a VB background and being forced to learn C# I have hit the first hurdle.

In VB i could put all the namespaces I wanted available across the entire app

2条回答
  •  时光说笑
    2021-01-18 18:47

    This ability is only for VB.NET, the C# project does not support it :/. But, you can create a template for new source code file ( C# Wizard Templates in Visual Studio .NET , How To: Edit Visual Studio Templates ) and change default namespaces as you wish.

提交回复
热议问题