Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object must implement IConvertible error when I have array of string in class #12

Open
pankajv82 opened this issue Nov 12, 2021 · 0 comments

Comments

@pankajv82
Copy link

I am getting below error when my class has array of strings as a property.
"One or more errors occurred. (Object must implement IConvertible.)"

I also tried below but all lead to same error.
public IEnumerable Industry { get; set; }
public List Industry { get; set; }

class Company
{
public string[] Industry { get; set; }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant