Можно ли добавить новое свойство к литералу объекта после его инициализации.Я хочу сделать что-то вроде следующего:
// Initialize new object literal to hold subset of information about each transaction.
var transactionJson = new {};
transactionJson[transaction.Id] = new {
Status = transactionList.StatusProperty,
Completed = transactionList.Completed,
First = transactionList.First
};