最佳答案
在 Visual Studio 2015或更高版本中,我可以打开“ C # 交互式窗口”,并运行代码:
> 5 + 3
8
真可爱。现在我该如何与 我的原则ーー我的课程交互呢? 假设我有一个项目正在开展。
> new Cog()
(1,5): error CS0246: The type or namespace name 'Cog' could not be found (are you missing a using directive or an assembly reference?)