Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed a character mistake about incorrect use #699

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/languages/CSharp/CSharp_1_basic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ Console.WriteLine(MathTool.Add(3, 5)); // 输出 8

###### 方法的参数传递方式

方法的参数默认才用值传递,即将实参复制一份给形参。对于值类型来说,复制的是值类型的所有数据,对于引用类型来说,复制的是一个引用。
方法的参数默认采用值传递,即将实参复制一份给形参。对于值类型来说,复制的是值类型的所有数据,对于引用类型来说,复制的是一个引用。

```c#
class Person
Expand Down
Loading