Skip to content

Commit

Permalink
fixed a character mistake about incorrect use
Browse files Browse the repository at this point in the history
changed a character in Line 686
Rosist-Sallina authored and Timothy-Liuxf committed Oct 28, 2023
1 parent 6c7fec2 commit b9d0324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/languages/CSharp/CSharp_1_basic.mdx
Original file line number Diff line number Diff line change
@@ -683,7 +683,7 @@ Console.WriteLine(MathTool.Add(3, 5)); // 输出 8

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

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

```c#
class Person

0 comments on commit b9d0324

Please sign in to comment.