随笔分类 -  .net之美笔记

第15章 .NET中的反射
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace ConsoleApplication2 { class P 阅读全文

posted @ 2016-10-10 09:01 liuslayer 阅读(95) 评论(0) 推荐(0) 编辑

第13章 .NET应用程序配置
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Configuration; using Syst 阅读全文

posted @ 2016-10-10 08:59 liuslayer 阅读(118) 评论(0) 推荐(0) 编辑

第11章 .NET Remoting
摘要:11.1理解remoting 11.1.1应用程序域基本概念 .NET提供了一项技术,使得跨应用程序域中的对象也可以相互访问,该技术就是.NET remoting。(185) 11.1.2应用程序域的基本操作 using System; using System.Collections.Generi 阅读全文

posted @ 2016-06-22 17:31 liuslayer 阅读(221) 评论(0) 推荐(0) 编辑

第5章 LINQ
摘要:5.4 LINQ查询运算符 阅读全文

posted @ 2016-05-03 16:41 liuslayer 阅读(214) 评论(0) 推荐(0) 编辑

第4章 对象的筛选和排序
摘要:4.2 对象的排序 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.IO; namespace C 阅读全文

posted @ 2016-04-27 17:01 liuslayer 阅读(167) 评论(0) 推荐(0) 编辑

第16章 多线程
摘要:16.1 线程的概念 16.2 线程的基本操作 16.2.1 创建新线程 Thread th = new Thread() 线程有以下几个常用的属性: ManagedThreadId属性,托管线程ID,在进程内唯一 name属性,默认为空 ThreadState属性,是一个位标记,描述了线程的当前运 阅读全文

posted @ 2016-04-18 17:36 liuslayer 阅读(193) 评论(0) 推荐(0) 编辑

第10章 网络编程
摘要:10.1网络编程基本概念 10.2 基本操作 10.2.1服务端对端口进行侦听 netstat -a 10.2.2 客户端与服务端连接 1.单一客户端与服务端连接 2.多个客户端与服务端连接 10.2.3 服务端获取客户端连接 1.获取单一客户端连接 2.获取多个客户端连接 10.3 同步传输字符串 阅读全文

posted @ 2016-04-18 16:56 liuslayer 阅读(276) 评论(0) 推荐(0) 编辑

第8章 流和序列化
摘要:8.1 文件 8.1.1 不同视角下的文件 应用程序级,人类可阅读级,机器级 8.1.2 位,字节和字节数组 8.2 流 8.2.1 关于流的类比 8.2.2 使用流进行文件复制 1.一次性复制 2.循环分批复制 当打开或创建文件时,流指针默认位于文件头,当调用read或write方法后,流指针会自 阅读全文

posted @ 2016-04-18 15:57 liuslayer 阅读(239) 评论(0) 推荐(0) 编辑

第3章 C#中的委托和事件
摘要:.NET框架中的委托和事件 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization.Formatters.Bina 阅读全文

posted @ 2016-03-27 21:59 liuslayer 阅读(183) 评论(0) 推荐(0) 编辑

第2章 C#中的泛型
摘要:2.1 理解泛型2.1.1 为什么要有泛型 并不一定要使用字符T作为类型参数的名称,也可以使用其他的字符,但习惯上使用T。 2.1.2 类型参数约束什么是“向下的强制转换(downcast)”?因为Object是所有类型的基类,Book类继承自Object类,在这个金字塔状的继承体系中,Object 阅读全文

posted @ 2016-03-26 10:22 liuslayer 阅读(263) 评论(0) 推荐(0) 编辑

第1章 C#类型基础
摘要:1.1值类型和引用类型 1.1.1 值类型 使用值类型之前需要对值类型的所有元素初始化(普通值类型和结构体)。 结构还有一个特性:调用结构上的方法前,需要对其所有的字段进行赋值,为了避免对结构体中所有字段专门赋值,可以通过隐式声明的构造函数去创建一个结构类型变量(new)。(P5) 1.1.2 引用 阅读全文

posted @ 2016-02-28 22:22 liuslayer 阅读(239) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示