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

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
主站蜘蛛池模板: 孟州市| 柘城县| 永定县| 峡江县| 县级市| 阳城县| 竹山县| 乌拉特后旗| 甘德县| 新泰市| 聂拉木县| 宿州市| 牟定县| 社会| 平陆县| 四子王旗| 赣州市| 土默特左旗| 福泉市| 五寨县| 吐鲁番市| 辽宁省| 灵丘县| 独山县| 淮南市| 元阳县| 临清市| 城步| 精河县| 石河子市| 邵阳县| 西贡区| 万宁市| 鹿泉市| 鲁山县| 绵阳市| 满城县| 罗山县| 纳雍县| 呼图壁县| 东丽区|