Tag

脚本

正在浏览与 脚本 相关的文章。

2 篇文章
1 当前页
Hello. NET run file, bye csproj

Hello. NET run file, bye csproj

This article introduces the new file-based program feature of the. NET CLI, which allows developers to run C#source files directly without creating project files. This feature makes it easy to develop scripts and simple applications by generating virtual project files in memory and supporting NuGet dependency packages and project property settings. The article also looks forward to the future of this feature, including target path extensions, unified command line parameters, performance improvements, and more file-based program command support.

WeihanLi amazingdotnet 5/24/2025 9:34 PM
C#script

C#script

In some cases, you need to dynamically execute C#code during program execution. For example, you need to save certain algorithms that change frequently in a configuration file, and read and perform operations from the configuration file during execution. At this point, you can use C#scripts to do this.

寻找无名的特质 12/24/2021 10:46 PM