Skip to content

Instantly share code, notes, and snippets.

@ironpythonbot
Created December 9, 2014 16:36
Show Gist options
  • Save ironpythonbot/2b6da7118eba6c7909e7 to your computer and use it in GitHub Desktop.
Save ironpythonbot/2b6da7118eba6c7909e7 to your computer and use it in GitHub Desktop.
CodePlex Issue #3740 Plain Text Attachments
Imports System.Collections.Generic
Public Class Test
Dim _data As Dictionary(Of String, String) = New Dictionary(Of String, String)
Public ReadOnly Property Data() As String()
Get
Dim l As List(Of String)
l = New List(Of String)(_data.Keys)
Return l.ToArray()
End Get
End Property
Public ReadOnly Property Data(ByVal index As String) As String
Get
Return _data(index)
End Get
End Property
End Class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment