Tag/
共179个网摘 [
1 2 3 4 5 6 ]
上一页 |
下一页 |
love_cutezhou收录,使用标签:a,时间:2007-12-29 17:49:29 | 相关网摘,我也收藏
string GetLineString(string fileName, Encoding encoding, int index)
{
if (index < 0) return null;
StreamReader sr = new StreamReader(fileName, encoding);
string[] strs = sr.ReadToEnd().Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
sr.Close();
if (index >= strs.Length) return null;
return strs[index];
}
private void Form1_Load(object sender, EventArgs e)
{
Console.WriteLine(GetLineString("D:\\123.txt", Encoding.Default, 222));
}
http://topic.csdn.net/u/20071229/15/1d5d4c71-460e-4e67-a735-0976a2641b72.html
fzqiang2007收录,使用标签:CodeProject:, A, simple, Multi-Threaded, Server, Client, Instant, Messenger, Application., Free, source, code, and, programming, articles,时间:2007-12-25 11:17:32 | 相关网摘,我也收藏
CodeProject: A simple Multi-Threaded Server Client Instant Messenger Application. Free source code and programming articles
http://www.codeproject.com/KB/cs/Instant_Messenger.aspx
共179个网摘 [
1 2 3 4 5 6 ]
上一页 |
下一页