Skip to content

Anonymous Types

IT Notes → C# @ December 22, 2020

  • Private nested type with read-only properties is created.
  • Var keyword is needed to reference an anonymous type, because the type’s name is compiler-generated.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x