- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 84字
- 2021-07-03 00:11:50
How it works...
So far in this recipe, we have seen that Tuples give developers a lot of flexibility when you need to return several values from a method. While the dummy implementation of GetAverageAndCount() simply returns the zero-valued Tuple literal, it gives you some idea how Tuples are wired up. This recipe is the foundation for the next recipe. I encourage you to go through both recipes thoroughly in order to gain the full benefit from understanding Tuples and how to use them.
推薦閱讀
- 從零構(gòu)建知識(shí)圖譜:技術(shù)、方法與案例
- Kubernetes實(shí)戰(zhàn)
- CMDB分步構(gòu)建指南
- Learning Docker
- iOS 9 Game Development Essentials
- Swift 3 New Features
- JavaScript前端開發(fā)與實(shí)例教程(微課視頻版)
- R的極客理想:工具篇
- Drupal 8 Configuration Management
- Mastering Android Game Development
- Android群英傳
- 零基礎(chǔ)學(xué)C語言程序設(shè)計(jì)
- Python機(jī)器學(xué)習(xí)算法與應(yīng)用
- C++ Application Development with Code:Blocks
- 現(xiàn)代C:概念剖析和編程實(shí)踐