Treffer: BASIC INSTINCTS: Type Inference in Visual Basic 2008.
Title:
BASIC INSTINCTS: Type Inference in Visual Basic 2008.
Authors:
Source:
MSDN (1528-4859). Oct2007, Vol. 22 Issue 10, p31-34. 4p.
Subject Terms:
Database:
Supplemental Index
Weitere Informationen
The article discusses the integration of type inference in Visual Basic 2008. Type inference, a feature present in some strongly-typed programming language, has been added to Visual Basic 2008 to support language integrated query (LINQ). According to the author, type inference is necessary in Visual Basic 2008 because of new language constructs that enable the creation of a type that is not defined anywhere. He expresses that type inference is also helpful in accommodating Lambda expressions. He discusses an example of how anonymous types can help in LINQ development. Details of how to enable and disable type inference are presented.