update
This commit is contained in:
@@ -570,7 +570,7 @@ busuanzi:
|
||||
math:
|
||||
# Choose: mathjax, katex
|
||||
# Leave it empty if you don't need math
|
||||
use:
|
||||
use: mathjax
|
||||
per_page: true
|
||||
hide_scrollbar: false
|
||||
|
||||
|
||||
@@ -69,13 +69,13 @@ index_generator:
|
||||
default_category: uncategorized
|
||||
category_map:
|
||||
建站手札: website
|
||||
学习: learning
|
||||
编程: program
|
||||
学习: learning
|
||||
随笔: essay
|
||||
tag_map:
|
||||
网站: web
|
||||
生活: life
|
||||
英语: english
|
||||
编程: program
|
||||
|
||||
# Metadata elements
|
||||
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
||||
@@ -211,8 +211,6 @@ aisummary:
|
||||
|
||||
# 内容清洗设置
|
||||
ignoreRules: # 可选:自定义内容清洗的正则规则
|
||||
# - "\\{%.*?%\\}"
|
||||
# - "!\\[.*?\\]\\(.*?\\)"
|
||||
|
||||
max_token: 5000 # 输入内容最大 token 长度(非输出限制)
|
||||
concurrency: 2 # 并发处理数,建议不高于 5hexo s
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
---
|
||||
title: {{ title }}
|
||||
date: {{ date }}
|
||||
categories:
|
||||
series:
|
||||
tags:
|
||||
---
|
||||
|
||||
33
source/_posts/c-first-in-first.md
Normal file
33
source/_posts/c-first-in-first.md
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
title: C# 入门
|
||||
categories: 学习
|
||||
tags: C#
|
||||
abbrlink: bc56f789
|
||||
date: 2025-08-15 09:56:17
|
||||
---
|
||||
今天开始学习C#
|
||||
# 环境安装
|
||||
下载Visual Studio,社区版就可以
|
||||
{% link Visual Studio,Visual Studio,https://visualstudio.microsoft.com/zh-hans/downloads/ %}
|
||||
下载的是安装器选择.Net桌面开发,注意修改安装位置
|
||||
<center><img src="https://pic.biss.click/i/2025/08/15/776813.webp" alt=".Net 桌面开发"></center>
|
||||
|
||||
# 第一个程序
|
||||
```c#
|
||||
using System;
|
||||
namespace HelloWorldApplication
|
||||
{
|
||||
/* 类名为 HelloWorld */
|
||||
class HelloWorld
|
||||
{
|
||||
/* main函数 */
|
||||
static void Main(string[] args)
|
||||
{
|
||||
/* 我的第一个 C# 程序 */
|
||||
Console.WriteLine("Hello World!");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
这也是一个默认的格式
|
||||
Reference in New Issue
Block a user