I have the following code:
var contentTypes =
(
from contentType in this._contentTypeService.GetContentTypes()
select new
{
id = contentType.ContentTypeId,
name = contentType.Name
}
);
How can I add another element to contentTypes with an id of 99 and a name of "All"?
I was trying to use contentTypes.Add(
but that does not seem to be allowed with intellisense.