- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 79字
- 2021-07-02 15:29:25
Making the delegate
Enter using System as usual at the very top of the file. Next, to make a delegate, enter the following:
delegate double CompareValues(double x, double y);
In this line, you have a delegate class. It returns a double and accepts two double data types. So, it encapsulates functions that have that kind of signature.
In the next stage, you'll enter the following within curly braces:
public partial class_Default: System.Web.UI.Page
This line inherits from Page as usual.
推薦閱讀
- LabVIEW 2018 虛擬儀器程序設計
- C語言程序設計(第2 版)
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- Apache Hive Essentials
- Servlet/JSP深入詳解
- 精通API架構:設計、運維與演進
- C++程序設計教程(第2版)
- Mastering Elixir
- C編程技巧:117個問題解決方案示例
- Design Patterns and Best Practices in Java
- Dart:Scalable Application Development
- Mastering Linux Kernel Development
- Access 2010數據庫教程(微課版)
- 信息安全技術(第2版)
- Instant Highcharts