摘要:
. 远程调用 1. 创建一个远程的可序列化的类,这个类可以在远程调用中用于传输来去,似乎是个公共的类: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System 阅读全文
摘要:
c# 3.0 get set 默认值 .NET Framework 3.5 使用的是 C# 3.0,C# 3.0 有一些新的语言特性,其中有一项就是快捷属性。 之前的写法: private int _id = 0; public int Id { get { return _id; } set { 阅读全文
摘要:
老版本的写法经常是以BeginXXX, EndXXX, 或者xx.xxxAsycn(........) 新的支持 async异步关键字配合Task可读性和易用性比老板好多了。 新旧例子: using System; using System.Collections.Generic; using Sy 阅读全文