anonymous type
A quick unnamed object like new { Name, Total }, made on the spot.
An anonymous type is a compiler-generated, immutable class with read-only properties, created by new { ... } and usable only through var within its method.
Examples
new { Name = "Ana", Total = 42m }makes an object with read-onlyNameandTotaland no type name you can write.
See also