Hi...Just check the type of the first element:
static void Main(string[] args) {
string[] foo = new string[3];
foo[0] = "apple";
foo[1] = "peach";
foo[2] = "pear";
Console.WriteLine("typeof(foo) = {0}", foo.GetType().ToString());
Console.WriteLine("element type = {0}", foo[0].GetType().ToString());
}
John Puopolo
"frisco" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
by reflection I can infer that a property is Array type.
But how I can get the type the array is composed from?
for instance:
string[] table;
I want to get String and not Array
thank you