C# IEnumerable数据类型:如何创建空对象?

C# IEnumerable数据类型:如何创建空对象?,c#,object,null,ienumerable,C#,Object,Null,Ienumerable,我有一个包含多个IEnumerable集合的对象: public class Product { public int id {get;set;} public string name {get;set;} IEnumerable<CrossSell> CrossSells {get;set;} IEnumerable<UpSell> UpSells {get;set;} IEnumerable<PricePromos>

我有一个包含多个IEnumerable集合的对象:

public class Product
{
    public int id {get;set;}
    public string name {get;set;}
    IEnumerable<CrossSell> CrossSells {get;set;}
    IEnumerable<UpSell> UpSells {get;set;}
    IEnumerable<PricePromos> PricePromos {get;set;}
}
公共类产品
{
公共int id{get;set;}
公共字符串名称{get;set;}
IEnumerable交叉销售{get;set;}
IEnumerable UpSells{get;set;}
IEnumerable PricePromos{get;set;}
}
我需要创建一个空对象(所有属性都是空的,但不是空的)。 显然,我不能仅仅创建一个可枚举项


除了创建一个全新的类之外,我如何才能做到这一点?

或者只是一个新的零长度数组。

正如cdhowie所建议的,零元素数组也可以。语法是
newt[0]