Jump to content
  • Revista PROGRAMAR: Já está disponível a edição #60 da revista programar. Faz já o download aqui!

Sign in to follow this  
Drone

Array de classes?

Recommended Posts

Drone

Alguem sabe como posso criar uma array de classes?

Encontrei este site (http://www.danielsoper.com/programming/getresource.aspx?ID=44) mas eu tentei como dizem e nao consegui da-me o erro:

Error 1 Inconsistent accessibility: field type 'RS_Downloader.RSDownload[]' is less accessible than field 'RS_Downloader.frmMain.downloads' C:\Documents and Settings\Andre\My Documents\Visual Studio 2005\Projects\RS Downloader\RS Downloader\Form1.cs 21 29 RS Downloader

Share this post


Link to post
Share on other sites
SoulOnFire

Se colocares aki o codigo ajuda...

Mas n deves de ter o tipo da Class como public!!!

Deves ter:

Class RSDownload

{

...

}

e tens k ter :

Public Class RSDownload

{

...

}


Fikem Bem!!!Miguel Duarte - (SoulOnFire)O meu BLOG - XAML E WPF - http://wpfpt.wordpress.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.