T
Tony Johansson
Hi!
In a book they use number _1 below but will it be the same if I instead use
number_2 below
I think so because List<T> implements IEnumerable<T>
So according to my knowlwdge it would be the same.
I'm I right in my conclusion ?
1. public Vectors(IEnumerable<Vectors> initialItems)
{...}
2. public Vectors(List<Vectors> initialItems)
{...}
//Tony
In a book they use number _1 below but will it be the same if I instead use
number_2 below
I think so because List<T> implements IEnumerable<T>
So according to my knowlwdge it would be the same.
I'm I right in my conclusion ?
1. public Vectors(IEnumerable<Vectors> initialItems)
{...}
2. public Vectors(List<Vectors> initialItems)
{...}
//Tony