public class PageListSite { public List<Site> sites { get; set; } } public class Site { public string siteName { get; set; } public List<Location> locations { get; set; } } public class Location public string locName { get; set; } }
List<site> Details=new List<site>(); Site DataObj=new Site(); DataObj.siteName="siteName"; Details.Add(DataObj); </site></site>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)