 Then you can define an anonymous type containing auto-generated read-only fields for the values.When instantiating another anonymous type declaration with the same signature the type is automatically inferred by the compiler.var carl = new { Name = "Carl", Age = 35 }; // Name of the type is only known by the compiler.