🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #650

Re: Array properties in C# ?

#650
From: Marc Rohloff TeamB
Date: Thu, 02 Sep 2004 01:43
12 lines
1304 bytes
On 31 Aug 2004 21:57:22 -0700, Craig K wrote:

> I tried to create an indexer, by I can't declare "this" as property more than once.
Not strictly correct. You can create two this operators but the
*index* must be a different type.

> Isn't there any equivalent code ? I'd like to avoid an array for each property.
Its not nice but I would use functions.

-- 
Marc Rohloff [TeamB]
marc rohloff at myrealbox dot com
Technical Details
Message-ID: <qbn4et2up7d.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <413556b2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,c22babec1f938d90
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: Array properties in C# ?
Newsgroups: borland.public.csharpbuilder.language.csharp
User-Agent: 40tude_Dialog/2.0.12.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <413556b2@newsgroups.borland.com>
Date: Wed, 1 Sep 2004 21:43:38 -0400
Message-ID: <qbn4et2up7d.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 4.224.231.153
X-Trace: newsgroups.borland.com 1094089358 4.224.231.153 (1 Sep 2004 18:42:38 -0700)
Lines: 12
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail