J
Joe Cool
Is there any real difference between the following two ways to
implement a class that represents a list of objects? Is there any
reason to use one technique over the other?
class myObjects
{
public List<object> Objects { get; set; }
}
class myObjects : List<object>
{
}
implement a class that represents a list of objects? Is there any
reason to use one technique over the other?
class myObjects
{
public List<object> Objects { get; set; }
}
class myObjects : List<object>
{
}