> For the complete documentation index, see [llms.txt](https://thinking.406sys.top/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thinking.406sys.top/tags/pl/csharp.md).

# CSharp

1.

```
![image-20201122151631637](/files/CmTGupkGmkA0ApMivxtJ)
```

```
C# 求 斐波那契数列

多返回值的设计很好, 但 为什么还要支持 返回键名引用..

我猜测 多返回值 在内部的类型就是一个数据类....

甜得齁得慌..

我最欣赏的两门语言 Go, Kotlin, 在我看来他们的设计者才真正的懂语言..

其他语言 就像是各种特性的缝合怪..
```

2\.

```
![image-20201122150252900](/files/sax8mnyBdJbvDcuFZW6c)

C# 判断一个字符串为空的写法...
```

3\.  快餐文分享:

```
C# Updates for the Absent C# Developer (C# 6.0 and newer overview)

[https://gamlor.info/posts-output/2020-12-05-csharp-for-the-absent/en/](https://gamlor.info/posts-output/2020-12-05-csharp-for-the-absent/en/)

摘要: It has been a while since I actively developed in C#. I mostly worked with C# and .NET during the 3.0 to 4.5 days and I did async/await work very early on, so I skip over that as well. After a job change, I didn’t touch C# for actual work. I mostly just watched the development from the sidelines via news. Today, I take a short look at some features. I will skip a lot and just add some of my highlights tour.

文章介绍了 C# 6.0 以来的新特性语法。
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://thinking.406sys.top/tags/pl/csharp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
