When converting C# to Vb.Net using the [Online Converter](http://codeconverter.sharpdevelop.net/) i found two issues, #513 is the first, and this is the second. Code with object initializers like this ``` StudentName student2 = new StudentName { FirstName = "Craig", LastName = "Playstead", }; ``` is wrongly translated to this (notice the "Key " parts) ``` Dim student2 As New StudentName() With { _ Key .FirstName = "Craig", _ Key .LastName = "Playstead" _ } ``` instead of this ``` Dim student2 As New StudentName() With { _ .FirstName = "Craig", _ .LastName = "Playstead" _ } ```
When converting C# to Vb.Net using the Online Converter i found two issues, #513 is the first, and this is the second.
Code with object initializers like this
is wrongly translated to this (notice the "Key " parts)
instead of this