Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 528.6k

Sql Connection

Feb 25 2023 10:11 AM

Hi

  I have below code . I want Videos to be read from Sql Database

static async Task Main(string[] args)
        {
            List<string> youtubevideoslinks = new List<string>() { "youtube.com/watch?v=-wtIMTCHWuI",
            "youtube.com/watch?v=-wtIMTCHWuI", "youtube.com/watch?v=-wtIMTCHWuI",
            "youtube.com/watch?v=lalOy8Mbfdc", "youtube.com/watch?v=lalOy8Mbfdc",
            "youtube.com/watch?v=lalOy8Mbfdc"};

            foreach (var item in youtubevideoslinks)
            {
                RunVideo(item);
            }
        }

Thanks


Answers (3)