What is an anonymous type in C#?

Junior C#

Answer

An anonymous type is an object created without defining a class.

The compiler generates a temporary type with read-only properties.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice