8,735
社区成员
发帖
与我相关
我的任务
分享
using (MemoryStream ms = new MemoryStream())
{
using (StreamWriter writer = new StreamWriter(ms))
{
int count = 1024 * 1024 * 40;
char[] str = new char[count];
while (count-- > 0)
str[count] = '*';
writer.Write(str);
writer.Flush();
}
}