
voidCreateTxt()
{
for(inti=0;i<Num;i++)
{
StreamWritersw=newStreamWriter(i.ToString()+".txt");
sw.WriteLine(i.ToString()+""+DateTime.Now.ToString());
sw.Close();
}
MessageBox.Show("生成完毕!");
}
namespace随机生成txt
{
publicpartialclassFrmMain:Form
{
publicFrmMain()
{
InitializeComponent();
}
privatevoidbutton1_Click(objectsender,EventArgse)
{
Num=Convert.ToInt32(numUd.Value);
Threadt=newThread(CreateTxt);
t.Start();
}
}
}
intNum=0;
privatevoidForm1_Load(objectsender,EventArgse)
{
txt随机生成器,用于随机生成多个txt文本文件的小程序,可以自定义生成数量。
usingSystem;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Text;
usingSystem.Windows.Forms;
usingSystem.IO;
usingSystem.Threading;
展开

手机兼职日赚500
网上赚钱项目日赚千元
广州做滴滴的赚钱窍门
挣钱少
10块基金一月赚多少
在手机上赚钱的办法
日赚1000偏门
注册送白菜2018论坛
万人棋牌赛开赛直播
卖什么赚钱致富生意
国外网赚真实赚钱
独立游戏不赚钱么
代理游戏能赚钱吗
求莱芜兼职招聘信息
正规的手机挣钱软件
招女生兼职
灰色赚钱方法
怎么回收旧手机赚钱
算佣金的公式
陌声挣钱是真的吗