Converting VB apps with generics to beta1 refresh

I just opened up a generics example I wrote in the tech preview of VS2005 in the Beta1 refresh. THe converter turned all of my VB generic declarations from this:

Dim JulieDate As New JuliesVBClass(Of Date)

to this

Dim JulieDate As New JuliesVBClass([Of] Date)

I’m sure it’s a known issue by now so I’m just sticking it here as a reminder to myself. The compiler picked up all the errors of course that the brackets around Of created.

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.