C# Console/CLI Interpreter?

后端 未结 17 2006
眼角桃花
眼角桃花 2020-12-24 07:57

I wonder if there is something like a standalone Version of Visual Studios \"Immediate Window\"? Sometimes I just want to test some simple stuff, like \"DateTime.Parse(\"bla

17条回答
  •  醉话见心
    2020-12-24 08:10

    You may find the Object Test Bench useful. It's not very well known, but lets you create instances of classes, execute static methods and so on. It can be useful for discovering how to use unfamiliar APIs or for quick debugging of your own classes and methods, saving the creation of a test harness for simple checks.

    You can find the MSDN documentation here:

    http://msdn.microsoft.com/en-us/library/c3775d98%28VS.80%29.aspx

提交回复
热议问题