我习惯VB.NET。我正在学习的游戏源代码是用C#编写的。我觉得很烦人,我必须添加using System.Diagnostics
到源代码以便输入Debug.WriteLine...
。我在项目属性下进行了检查,但找不到允许我将命名空间添加到导入的命名空间的“引用”选项卡。在 C# 中哪里可以找到这个?
另外,为什么我不能在 C# 中执行此操作?Imports System.Math
Place the cursor over Debug
in the source code, a red squiggle appears in the right bottom corner of the word, press Shift+Alt+F10 Enter - the using is automatically added.
另外,为什么我不能在 C# 中执行此操作?
导入 x = System.Math
你可以:using x = System.Math;
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)