Re: generating public int this[int index] {}

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 15:29:27 +0100

2G <2G@pandora.be> wrote:
> Aah yes, thanks !! :), but I hate those "need to know things"

Well, to be fair it *is* specified in the docs for
CodeMemberProperty.Parameters:

<quote>
For any property that has the special name "Item" and one or more
parameters, it will declare an indexer property for the class. However,
not all languages support the declaration of indexers.
</quote>

-- 
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Relevant Pages

  • Re: struct and typedef problems
    ... >> So u have to include the other file into this file and declare the ... >> structure in the other file with extern keyword. ... > Please provide some context when posting a followup. ... > quote the entire article, just enough to make it possible to ...
    (comp.lang.c)
  • Re: struct and typedef problems
    ... >> So u have to include the other file into this file and declare the ... >> structure in the other file with extern keyword. ... > Please provide some context when posting a followup. ... > quote the entire article, just enough to make it possible to ...
    (comp.lang.c)
  • Re: nullpointerexception
    ... JAI is not a package most people use. ... So how about you quote the ... javaDoc for create, and also post your code for the create call along ... with the code you use to declare the various parameters. ...
    (comp.lang.java.help)
  • Does my macro create C style pointers?
    ... (declare (special x)) ... (intermediate1 (quote x)) ...
    (comp.lang.lisp)
  • Re: generating public int this[int index] {}
    ... my eye must have missed that:s ... it will declare an indexer property for the class. ... > not all languages support the declaration of indexers. ...
    (microsoft.public.dotnet.languages.csharp)