本文介绍了从浏览器运行C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很好奇是否有可能让浏览器运行c#代码.例如,能够在文本框中编写代码,然后像在虚拟状态或类似状态下运行代码.我只是有一个想法想和我一起玩,真的只是想知道它是否可行.我尝试四处搜寻,但找不到任何答案,因此我以为我会 ass 问专业人士. 谢谢, Artie
I am curious if it''s possible to have a browser run c# code. For instance be able to write code in a textbox and then run the code just in like a virtual state or something. I just had an idea I wanted to play around with and really just want to know if it''s possible or not. I''ve tried searching around but am not able to find any answers so I''d thought I''d ass ask the professionals. Thanks, Artie
推荐答案您可能要检查这些链接; 即时编译.NET代码 [ ^ ] bytes/topic/c-sharp/answers/644288- run-code-entered-textbox [ ^ ] stackoverflow/questions/826398/is-it-possible-to-dynamic-compile-and-execute-c-code-fragments [ ^ ] You might want to check these links; Compiling .NET code on-the-fly[^] bytes/topic/c-sharp/answers/644288-run-code-entered-textbox[^] stackoverflow/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-code-fragments[^]
更多推荐
从浏览器运行C#
发布评论