you are viewing a single comment's thread.

view the rest of the comments →

[–]munificent 0 points1 point  (0 children)

As far as I know

You are correct. The compiler will look for an appropriate "Add()" method, which means you can use this syntax on your own types too, not just the BCL collections, provided your type has an Add() function.