Answers for "c# declare inline string array"

C#
1

c# declare inline string array

string letter = (new[] {"a","b","c"}).AnyOne();
// or specifying the data type:
string letter = (new string[] {"a","b","c"}).AnyOne();
Posted by: Guest on February-01-2021

C# Answers by Framework

Browse Popular Code Answers by Language