C#-like collection