在Visual Studio 2015或更高版本中,我可以打开"C#interactive窗口",并运行代码:
> 5 + 3
8
真可爱.现在我怎样才能与my code个班级互动呢?假设我打开了一个项目.
> 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?)