KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a field that is of type 'object'. When I inspect it within the Watch window of visual studio I see its Object[] and when I drill into the elements I see each element is a string. But when I try to cast this to a String[] I get this error: Cannot cast 'MyObject' (which has an actual type of 'object[]') to 'string[]' string[] Any reason why I can't do this cast? What is the best way to convert this object to a string array?
Tags (comma-separated)
Save Edits
Cancel