Troubleshooting


Cannot Implicitly convert type Json_Property[] to Json_Properties

myObject.jsonProperties.jsonProperty = properties 

public class Json_Object 
{
   public Json_Properties jsonProperties { get; set; }
}

public class Json_Properties
{
   public Json_Property[] jsonProperty { get; set; }
}

public class Json_Property
{
   public string Text1 { get; set; }
   public string Text2 { get; set; }
}


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext