将值传递给函数中的变量是值类型还是引用类型? [英] Passing value to variable in function is value type or reference type ?

查看:87
本文介绍了将值传递给函数中的变量是值类型还是引用类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

public string Name { get; set; }





我尝试过:



i已经尝试了其他来源但什么都没有。这个问题在我的内容中被提出



What I have tried:

i have tried other source but get nothing.This question is asked in intreview from me

推荐答案

我可以建议一个关于C#编程的优秀免费PDF书:

使用C#/ Java书籍编程简介 [ ^ ]



您的问题在第2章和第9章得到解答。



如果问的问题与你在这里写的完全一样,你也应该向那些问你问题的人推荐这本书。
May I suggest an excellent free PDF-Book on programming in C#:
Introduction to Programming with C# / Java Books[^]

Your question gets answered in Chapters 2 and 9.

If the question was asked exactly like you wrote it here you should recommend the book also to those who asked you the question.


这篇关于将值传递给函数中的变量是值类型还是引用类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆