Answers for "string array list in c#"

C#
2

c# array of strings

string[] img_urls = new string[] {
                "/images/cherry.jpg",
                "/images/shamrock.jpg",
                "/images/horseshoe.jpg"
            };
Posted by: Guest on September-08-2021
1

c# string list

// This will create a new list called 'nameOfList':
var nameOfList = new List<string> 
{
  "value1",
  "value2",
  "value3"
};
Posted by: Guest on October-28-2020

C# Answers by Framework

Browse Popular Code Answers by Language