This commit is contained in:
2025-08-15 10:26:00 +08:00
parent d2e95b3514
commit fec4c531db
4 changed files with 38 additions and 5 deletions

View File

@@ -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

View File

@@ -70,12 +70,12 @@ default_category: uncategorized
category_map:
建站手札: website
学习: learning
编程: program
随笔: 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

View File

@@ -1,5 +1,7 @@
---
title: {{ title }}
date: {{ date }}
categories:
series:
tags:
---

View 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();
}
}
}
```
这也是一个默认的格式