- 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
推薦閱讀
- ExtGWT Rich Internet Application Cookbook
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- JavaScript:Functional Programming for JavaScript Developers
- 三維圖形化C++趣味編程
- ASP.NET動態(tài)網(wǎng)頁設(shè)計教程(第三版)
- Android NDK Beginner’s Guide
- 編程數(shù)學(xué)
- PySide 6/PyQt 6快速開發(fā)與實戰(zhàn)
- Spring核心技術(shù)和案例實戰(zhàn)
- Swift Playgrounds少兒趣編程
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(2)
- Visualforce Developer’s guide
- Machine Learning With Go
- Instant Zurb Foundation 4
- Scala Functional Programming Patterns