C# Console/CLI Interpreter?

后端 未结 17 1977
眼角桃花
眼角桃花 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:00

    Use LINQPad.

    Name notwithstanding, it can execute any C# or VB code, from simple expressions to entire classes.

    Plus, it can visualize entire object graphs in the results.

    You can even add references to your own assemblies.

提交回复
热议问题