Unable to cast object of type 'System.Collections.Generic.List`1[MW01.Web.Model.Countries]' to type 'MW01.Web.Model.Country'.'

后端 未结 0 973
春和景丽
春和景丽 2020-12-18 17:57

I am trying to deserialize an object from API but I keep getting either cast error.

Here is my Country class:

public class Country
    {
        public         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题