摘要: /// <summary> /// 序列化 /// </summary> /// <param name="condition"></param> /// <returns></returns> [DebuggerStepThrough] public static string Serialize(this string t... 阅读全文
posted @ 2009-12-16 12:57 Roamman 阅读(131) 评论(0) 推荐(0) 编辑
摘要: FileStream fs = new FileStream("c:\\aaa.txt", FileMode.Open); byte[] bytes = new byte[(int)fs.Length]; fs.Read(bytes, 0, bytes.Length); fs.Close(); string s = System.Text.Encoding.Ge... 阅读全文
posted @ 2009-12-16 12:56 Roamman 阅读(137) 评论(0) 推荐(0) 编辑