Currently im working on wrapping and converting some old VB6 code to .NET and i need to be able to use the scripting.dictionary returned by huge old price of VB6 code.
I want to convert this to the .NET generic Dictionary(Of TKey, TValue)
Currently im working on wrapping and converting some old VB6 code to .NET and i need to be able to use the scripting.dictionary returned by huge old price of VB6 code.
I want to convert this to the .NET generic Dictionary(Of TKey, TValue)
The solution is to write an extension method for scripting.dictionary to convert to a .net Dictionary(Of TKey, TValue)
VB.NET
C#.NET
and then simply use