Type class question

  • Thread starter Thread starter alexandre jenny
  • Start date Start date
A

alexandre jenny

Easy :
Type mytype = myclass.GetType();

// my isn't an array class.

How can I get easily the Type of an array of myclass using only mytype ?

Alexandre
 
Alexandre,
How can I get easily the Type of an array of myclass using only mytype ?

In v2.0 you'll be able to do

Type arrayOfMyclass = mytype.MakeArrayType();



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top