i want to have some class like this:
[XmlRoot(ElementName = typeof(T).Name + "List")]
public class EntityListBase<T> where T : EntityBase, new()
{
[XmlElement(typeof(T).Name)]
public List<T> Items { get; set; }
}
but typeof(T) cannot be attribute argument.
what can i do instead?