Imports System.Collections.Generic
Dim data As New Dictionary(Of Integer, String) From { {1, "One"}, {2, "Two"}, {3, "Three"} }
Console.WriteLine(CSVKeysFromDictionary(data))
Public Function CSVKeysFromDictionary(Of T)(input As Dictionary(Of Integer, T)) As String
Return String.Join(",", input.Keys)