Re: Class Function in WinForms project

John Brett <[email protected]> Mon, 29 Oct 2007 15:19:48 +0000
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
<snip>
> . Why am I getting a CS0050 compile error? Inconsistent accessibility:
> return type 'type' is less accessible than method 'method'

Ensure that UploadTypes is at least as visible as GetUploadType.
In practice, this probably means that the UploadTypes needs to be
public. If it is itself in a contained class, then that class also
needs to be public.

John