Could .NET be parsed and evaluated at runtime

前端 未结 6 1528
轻奢々
轻奢々 2021-01-14 09:25

I thought it would be fun if I could write vb.net or c# code at runtime and the interpreter would automatically parse it like python does it, so I made a little program, whi

6条回答
  •  醉酒成梦
    2021-01-14 10:28

    Are you reinventing LinqPad?

    LinqPad is a free ergonomic C#/VB/F# scratchpad that instantly executes any expression, statement block or program with rich output formatting. It's excellent.

    If you really want to develop your own, have a look at some of the similar existing questions one two three four...

提交回复
热议问题