title: Creating a COM indexed property from C#?
body: <p>I am trying to mimic an old vb6 dll with a new .net one. The mimicry has to be perfect so that that callers don't know they are using a new .dll.</p>
  
  <p>I have a curiousness though. In VB6 it has the following in the object library:</p>
  
  <pre><code>Property BankList(Index As Long) As String
  </code></pre>
  
  <p>But AFAIK property this can't be done in .net?</p>
  
  <p>The closest I can get is creating a function that exhibits that behaviour but then the COM type goes from Property to Method.</p>
  
  <p>Can anyone suggest how I would create that signature with a property?</p>