[Mono-dev] Embedding | mono_array_* methods

Robert Jordan robertj at gmx.net
Fri Aug 28 09:48:14 EDT 2009


Matthew Metnetsky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> All,
> 
> I'm trying to figure out if there's a way to work with List<String> like
> there is String[].
> 
> mono_array_length reports the correct amount for both types, but
> mono_array_get(array, type, index) only works for String[]. Clearly I

This works by coincidence only, so do not rely on this!

> can call more .NET methods, but I was wondering if there is an API in
> mono for it.

There is no extra API for accessing List<T> other than
mono_runtime_invoke-ing  its Items property.

Robert



More information about the Mono-devel-list mailing list