摘要:
委托 委托类似C++的函数指针,但是函数指针不安全。C#中的委托就是一个新类,每次定义的时候都等于声明一个类。可以这么理解:委托类中储存函数元数据(返回值,参数,函数名),初始化的过程就是给函数具体的内容(就是存的内容是函数指针)。 定义和初始化委托 public delegate string G 阅读全文
posted @ 2021-09-26 17:54
none323
阅读(114)
评论(0)
推荐(0)
摘要:
##从Thread说起 考虑到leetcode上一道题:使用异步编程,依次输出first,second,thrid public class Foo { bool syncFirst = true; bool syncSecond=false; bool syncThird=false; publi 阅读全文
posted @ 2021-09-26 17:53
none323
阅读(48)
评论(0)
推荐(0)
摘要:
##基本数据类型 整形数据: | | | | | | | bigint | 8 byte | |int|4 byte| |smallint|2 byte| |tinyint|1 byte| C#定义的整形数据 | | | | | | | long | 8 byte | | ulong | 8 byt 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(44)
评论(0)
推荐(0)
摘要:
恢复内容开始 文件类型 MDF files are the data files that hold the data and objects such as tables, indexes, stored procedures and views. LDF files are the transa 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(89)
评论(0)
推荐(0)
摘要:
访问修饰符: 类 |Members of | Default member accessibility| | | | |enum | public| |class | private| |interface | public| |struct | private| 方法 属性 字段 扩展方法: 要点 阅读全文
posted @ 2021-09-26 17:52
none323
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号