官术网_书友最值得收藏!

Creating a generics class

Bring up a project, and go to Solution Explorer; right-click, select Add, and click on Class. Name the class GenericsClass; a simple generics class. Then, click on OK. When the Visual Studio message comes up, click on Yes.

For our purposes, you don't need any of the using System lines at the top, nor any of the comments underneath, so delete them. Your initial screen should look like Figure 1.1.1:

Figure 1.1.1: The initial GenericsClass.cs screen
主站蜘蛛池模板: 红桥区| 铜鼓县| 陇南市| 宜章县| 舞阳县| 图们市| 望奎县| 元朗区| 宁武县| 九龙坡区| 宣恩县| 玉山县| 松原市| 疏附县| 周口市| 墨竹工卡县| 蓬安县| 库伦旗| 崇左市| 突泉县| 中牟县| 犍为县| 绵阳市| 乌什县| 文化| 泸水县| 敦化市| 柘荣县| 普宁市| 汉阴县| 夏邑县| 封开县| 万宁市| 临朐县| 含山县| 宁波市| 海盐县| 芜湖县| 赣榆县| 阳城县| 新郑市|