📜  c# 声明内联字符串数组 - C# 代码示例

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

代码示例1
string letter = (new[] {"a","b","c"}).AnyOne();
// or specifying the data type:
string letter = (new string[] {"a","b","c"}).AnyOne();