Re: Passing Objects and protection level
- From: "ji" <jj@xxxxxx>
- Date: Tue, 16 Aug 2005 19:30:45 GMT
Oh my <turning red>. Thanks to all who replied. Ignacio, Alan, Metallikanz,
Jon.
"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:MPG.1d6c432e48313db098c5a2@xxxxxxxxxxxxxxxxxxxxxxx
> [Removed microsoft.public.dotnet.csharp.general, which isn't a valid
> newsgroup.]
>
> ji <jj@xxxxxx> wrote:
>> I'm a vb programmer < flinch - duck>... trying to get into C#. All is
>> good
>> up to this point but for a conceptual issue. I'm hoping somebody can help
>> me...
>
> <snip>
>
> There are two problems:
>
> 1) You're trying to access the variable, not the property - the
> variable is called age, the property is called Age.
>
> 2) You're trying to access PassYears as if it were a static method, but
> it's not.
>
> --
> Jon Skeet - <skeet@xxxxxxxxx>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
.
- References:
- Re: Passing Objects and protection level
- From: Jon Skeet [C# MVP]
- Re: Passing Objects and protection level
- Prev by Date: Re: Changing windows passwords remotely
- Next by Date: Datagrid help
- Previous by thread: Re: Passing Objects and protection level
- Next by thread: Help with String.Format
- Index(es):
Relevant Pages
|