Anonymous user
Multiple distinct objects: Difference between revisions
added c#
(added c#) |
|||
Line 119:
</lang>
Of course, also in this case one can use the other sequence containers or plain new/delete instead of <tt>vector</tt>.
=={{header|C sharp|C#}}==
<lang chsarp>List<Foo> foos = Enumerable.Range(1,10).Select(x => new Foo()).ToList();</lang>
=={{header|Common Lisp}}==
|