摘要:
最近没什么事情,复习了下以前几块不熟悉的东西。IEnumerator接口,yield,operatornamespace test{ class Program { static void Main(string[] args) { Console.WriteLine("泛型方法数组遍历"); string[] strList = new string[] { "1", "2", "3", "4", "5" }; ListHelper<string> helper 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Serialization.Formatters.Binary;using System.IO;namespace TestBinaryFormatter{ class Program { static void Main(string[] args) { //序列化 从内存读取信息流 Book book =... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Runtime.Serialization.Formatters.Binary;namespace CloneClass{ class Program { static void Main(string[] args) { Results set1 = new Results(); Resul... 阅读全文