- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 60字
- 2021-07-02 15:29:23
Making objects of the delegate type
Now, the next thing that we will do is to enter the following below the preceding line:
Compare comp = (a, b) => (a == b);
As you begin to enter Compare, notice from the popup that once you have a delegate (Compare), essentially, you can make objects of that kind; then, type comp.
推薦閱讀
- Spring Cloud Alibaba核心技術與實戰案例
- Learning ROS for Robotics Programming(Second Edition)
- Delphi程序設計基礎:教程、實驗、習題
- Python進階編程:編寫更高效、優雅的Python代碼
- Python機器學習編程與實戰
- SQL Server 2016數據庫應用與開發習題解答與上機指導
- Learning DHTMLX Suite UI
- 軟件測試實用教程
- 用戶體驗可視化指南
- 詳解MATLAB圖形繪制技術
- C專家編程
- LabVIEW虛擬儀器入門與測控應用100例
- INSTANT JQuery Flot Visual Data Analysis
- Java并發實現原理:JDK源碼剖析
- Xamarin Cross-Platform Development Cookbook