Sample code:
var v1 = new {FirstName ="Bin", LastName="Zeng" }
The conpilers consider anonymous types that is specified within the same program with properties of the same names and types in the same order to be the same type.
Linitations:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment