Showing results for May 2010 - Visual Basic Blog

May 24, 2010
Post comments count0
Post likes count0

Using HTML entities in XML Literals (Avner Aharoni)

VBTeam
VBTeam

One of the common use-cases of XML literals is creating HTML. However, HTML entities cannot be used in XML literals since LINQ to XML directly supports only the Data type definitions (DTD) defined in the XML 1.0 spec. You can read more about it here. The workaround is to use the Unicode representation of the entity, although it’s not as readable ...

May 3, 2010
Post comments count0
Post likes count0

Channel 9 Interview: Array and Collection Initializers in Visual Basic 2010 (Beth Massi, Spotty Bowles)

Beth Massi
Beth Massi

I’ve written about collection initializers on my blog before, but I thought I’d catch up with the VB Team to tell me more about how they really work.In this interview Spotty Bowles, a tester on the VB Compiler team, shows us a couple of new language features: Array and Collection Initializers. He gives us insight into how they are imple...