c# - ??空合并运算符 --> 合并是什么意思?

标签 c# terminology coalesce null-coalescing-operator

我很想撒谎说英语是我的第二语言,但事实是我根本不知道“合并”是什么意思。我知道 ?? 在 C# 中“做什么”,但这个名字对我来说没有意义。

我查了一下这个词,我理解它是“加入”的同义词。 “Null Join Operator”仍然没有意义。

谁能教教我?

最佳答案

I'm tempted to lie and say that English is my second language...but the truth is that I just have no idea what 'Coalescing' means. I know what ?? 'does' in C#, but the name doesn't make sense to me.

I looked up the word and I understand it to be a synonym for 'join'.

我想对“合并”更准确的描述是“从不同的元素中形成一个东西”。 ?? 运算符的“合并”发生是因为单个值总是从两个值之一解析。第一个非空值是结果。

关于c# - ??空合并运算符 --> 合并是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/770186/

相关文章:

C# .NET4.5.1 正则表达式奇怪?

runtime - 什么是运行时环境?

algorithm - 什么术语描述了在不知道其他坐标的情况下生成坐标的过程/分形生成?

c# - WCF 中的 mex 绑定(bind)错误

c# - C# 中有动态长度二维结构吗?

c# - 在表单之间传递数组并在数组中管理

vim - VIM 中的 "buffer"是什么?

MYSQL 5.7.20 - 按合并列顺序左连接 - 非常奇怪的行为

mysql - 对从 COALESCE mySQL 查询的所有记录求和

使用 COALESCE 和 LEFT OUTER JOIN 的 SQL 查询