using System.Collections.Generic;
using Newtonsoft.Json.Linq;
public static void Main()
var list = new List<string>();
var selectedList = list.Select(x => x.Equals("s7h"));
var jArray = JArray.FromObject(selectedList);
Console.WriteLine("jArray has values");
Console.WriteLine($"jArray is empty. jArray: " + jArray.ToString());