var json = @"{ ""props"":{ ""pageProps"": { ""dehydratedReduxStateKey"": { ""studyModesCommon"": { ""studiableData"": { ""studiableItems"": [ {""item1"": ""data1""}, {""item2"": ""data2""}, {""item3"": ""data3""} ] } } } } } }"; var jsonNode = JsonNode.Parse(json); var studiableItems = jsonNode["props"]["pageProps"]["dehydratedReduxStateKey"]["studyModesCommon"]["studiableData"]["studiableItems"]; Console.WriteLine(studiableItems.ToJsonString());
case 1:case 7: int offset = 0; //rest of code...
case 1 or 7: int offset = 0; //rest of code...
Random.Shared.Next(1, 11);
//Inside Program.cs file:var script = new Script1();script.Thing();//Inside Script1.cs file:public class Script1{ public void Thing() { //code here }}