出典:Wikipedia
出典:『Wikipedia』 (2011/05/04 23:22 UTC 版)
Anonymous types are a feature of C# 3.0, Visual Basic .NET 9.0, and Oxygene that allows data types to encapsulate a set of properties into a single object without having to first explicitly define a type. This is an important feature for the SQL-like LINQ feature that is integrated into C# and VB.net. Since anonymous types do not have a named typing, they must be stored in variables declared using the var keyword, telling the C# compiler to use type inference for the variable. The properties created are read-only in C#, however they are read-write in VB.net.
| ・Anonymous type | |
| ・Hcb | |
| ・Antabus | |
| ・Prothero | |
| ・bailly | |
| ・querydefs | |
| ・additionable | |
| ・rarefact | |
| ・VDPV | |
| ・selectrons |