次の方法で共有


C# 3.0: Create And Initialize Collection Objects In One Step

C# 3.0's new collection initializer feature provides a new syntax that combines collection object creation and initialization into a single step.

More Information @   https://www.developer.com/net/csharp/article.php/3607421

C# 3.0 Language Specification @ https://download.microsoft.com/download/9/5/0/9503e33e-fde6-4aed-b5d0-ffe749822f1b/csharp%203.0%20specification.doc

Information related to Future C# Versions: https://msdn.microsoft.com/vcsharp/future/

C# Developer center: https://msdn.microsoft.com/vcsharp/