Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #declare #inline #string #array
ADD COMMENT
Topic
Name
2+7 =