projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-08 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mono
/
tests
/
stream-writer.cs
1
using System;
2
using System.IO;
3
4
public class Test {
5
6
public static int Main () {
7
FileStream s = new FileStream ((IntPtr)1, FileAccess.Write);
8
StreamWriter sw = new StreamWriter (s);
9
string ts = "This is another test";
10
11
sw.WriteLine (ts);
12
13
sw.WriteLine (123456);
14
15
return 0;
16
}
17
}
18
19