Skip to content

Commit

Permalink
GITBOOK-175: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
mouuii authored and gitbook-bot committed Nov 6, 2024
1 parent 2f3bc76 commit 1c24e7a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
Binary file added .gitbook/assets/1730871284206.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/1730871561423.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/1730871608328.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,7 @@
* [04、使用 jenkinsfile](cicd/04-shi-yong-jenkinsfile.md)
* [05、Jenkins CI/CD 管道实战1 【go-k8s】](cicd/05jenkins-cicd-guan-dao-shi-zhan-1-gok8s.md)
* [06、 Jenkins CI/CD 管道实战2 【go-主机】](cicd/06-jenkins-cicd-guan-dao-shi-zhan-2-go-zhu-ji.md)

## c# 编程入门

* [01、VScode编辑器上编译C#](c-bian-cheng-ru-men/01vscode-bian-ji-qi-shang-bian-yi-c.md)
27 changes: 27 additions & 0 deletions c-bian-cheng-ru-men/01vscode-bian-ji-qi-shang-bian-yi-c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 01、VScode编辑器上编译C\#

### .NET 下载 <a href="#h_576402546_0" id="h_576402546_0"></a>

C#语言是基于.NET框架之下编译和运行。这些实现通常打包成一个软件开发包(SDK, Software Development Kit),其中包含语言编译器、执行引擎、语言可访问的功能架构以及其他的工具。

.NET 下载地址:[.NET 下载(Linux、macOS 和 Windows)](https://link.zhihu.com/?target=https%3A//dotnet.microsoft.com/zh-cn/download/dotnet) (推荐下载.NET Core)

### VS Code 编辑器安装 <a href="#h_576402546_1" id="h_576402546_1"></a>

VS Code具有开源、轻量、免费、简洁等特点。VSCode依赖命令行(Dotnet CLI "Command-Line Interface" )创建初始的C#程序基架编译和运行。

VS Code下载地址:[Download Visual Studio Code - Mac, Linux, Windows](https://link.zhihu.com/?target=https%3A//code.visualstudio.com/Download)

### VScode上编译C#文件 <a href="#h_576402546_2" id="h_576402546_2"></a>

下载插件:C#

<figure><img src="../.gitbook/assets/1730871284206.png" alt=""><figcaption></figcaption></figure>

在桌面新建一个工程文件夹,并且VS Code中打开,在菜单栏中打开终端,输入dotnet new console 初始化程序。

<figure><img src="../.gitbook/assets/1730871561423.png" alt=""><figcaption></figcaption></figure>

调出终端,输入dotnet run 运行。

<figure><img src="../.gitbook/assets/1730871608328.png" alt=""><figcaption></figcaption></figure>

0 comments on commit 1c24e7a

Please sign in to comment.