
C#
LS
Good
展开
-
VB.NET 与 C# 相互转换网站
网址:http://www.developerfusion.com/tools/原创 2012-07-15 21:55:12 · 418 阅读 · 0 评论 -
List<string>和string[]之间的相互转换
1.从System.String[]转到List List List = new List(); string[] str={"1","2","3"}; List = new List(str); 2.从List转到System.String[] List List = new List();原创 2012-12-11 22:06:16 · 821 阅读 · 0 评论 -
方法:VS中解决方案的多个项目共用一个文件 如CS文件或配置文件等
选择添加现有项时,那个添加按钮有个三角箭,下拉下去有一个 “添加为链接” 的按钮,点击即可.原创 2012-12-14 12:05:51 · 3560 阅读 · 1 评论 -
C#读写txt文件的两种方法介绍
1、使用FileStream读写文件 文件头: using System; using System.Collections.Generic; using System.Text; using System.IO; 读文件核心代码: byte[] byData = new byte[100]; char[] charData = new char[1000]原创 2013-01-15 23:48:18 · 601 阅读 · 0 评论