📜  c# 返回两个不同类型的变量 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:21.031000             🧑  作者: Mango

代码示例1
(string, string, int) LookupName(long id) // tuple return type
{
    ... // retrieve first, middle and myNum from data storage
    return (first, middle, myNum); // tuple literal
}