... System::Array^ args
arg->GetLength

... System::Collections::IList^ args
arg->Count