I typed Dim x = New List(Of String) but on the next line I realized that the implicit type inference didn’t work and Intellisense treated x as Object.  It turns out, it was an easy fix.  You have to open the project properties and turn “Option infer” to On.  Or type

Option Infer On

at the top of your class.

 

This entry was posted on Saturday, July 28th, 2007 at 1:04 pm and is filed under Random. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.