Beginning C# 7 Hands-On:Advanced Language Features
上QQ阅读APP看书,第一时间看更新

Adding namespaces

The first thing to do is to add two new namespaces; so, enter the following after using System:

using System.Linq;
using System.Collections.Generic;

LINQ stands for Language Integrated Query, and using System.Collections .Generic is for working with lists. These are the two new namespaces that we are using.