- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 80字
- 2021-07-02 15:29:13
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
推薦閱讀
- AngularJS Testing Cookbook
- Python數據可視化:基于Bokeh的可視化繪圖
- C#完全自學教程
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- 高級C/C++編譯技術(典藏版)
- Python高效開發實戰:Django、Tornado、Flask、Twisted(第3版)
- 單片機C語言程序設計實訓100例
- Python之光:Python編程入門與實戰
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Odoo 10 Implementation Cookbook
- 計算機應用基礎教程(Windows 7+Office 2010)
- 進入IT企業必讀的324個Java面試題
- 游戲設計的底層邏輯
- Java Web動態網站開發(第2版·微課版)
- RESTful Web API Design with Node.js(Second Edition)