在下面的课程中,我有时想为属性“BodyParameters”传递一个字符串数组。如果不使用对象类型作为其参数类型,这可能吗?大多数情况下,当使用该类时,此属性将是一个字符串 [ ] 数组列表。
public class EmailTemplate
{
...
public IList<string[]> BodyParameters { get; set; }
...
}
在下面的课程中,我有时想为属性“BodyParameters”传递一个字符串数组。如果不使用对象类型作为其参数类型,这可能吗?大多数情况下,当使用该类时,此属性将是一个字符串 [ ] 数组列表。
public class EmailTemplate
{
...
public IList<string[]> BodyParameters { get; set; }
...
}