V
V
Victor Marquardt2016-09-18 18:35:30
Programming
Victor Marquardt, 2016-09-18 18:35:30

How to pull array srting from Object?

There is a
GetLess() function;
Object get_res = GetLess();
It returns
String *res[];
There are lines, I see them in the debugger.
As I understand this array lies in Object, the question is how to get it out of there? Or refer to strings through it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita, 2016-09-18
@Cempl

string[] strArr = objArr.Cast<string>().ToArray();

S
Stelsi_Unit, 2016-09-18
@Stelsi_Unit

What do you mean, under pull out?

A
Alexander Ananiev, 2016-09-18
@SaNNy32

A simple typecast should help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question