- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 67字
- 2021-07-03 00:11:55
Getting ready
It is important to understand the concept of the ref keyword. When you pass a ref parameter, you are working with the variable itself, not just the value of the variable. This means that, if the value is changed, the original place in memory is updated, not only the value which would be a copy of the parameter. This becomes clearer in the following example.
推薦閱讀
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Visual Basic編程:從基礎(chǔ)到實(shí)踐(第2版)
- 區(qū)塊鏈:以太坊DApp開(kāi)發(fā)實(shí)戰(zhàn)
- 編寫(xiě)高質(zhì)量代碼:改善C程序代碼的125個(gè)建議
- Python高效開(kāi)發(fā)實(shí)戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- Python程序設(shè)計(jì)案例教程
- Python數(shù)據(jù)挖掘與機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- Android 應(yīng)用案例開(kāi)發(fā)大全(第3版)
- 軟件測(cè)試技術(shù)指南
- OpenStack Orchestration
- 組態(tài)軟件技術(shù)與應(yīng)用
- Java程序員面試筆試寶典(第2版)
- Learning Docker Networking
- ArcGIS for Desktop Cookbook
- Spring 5 Design Patterns