J
JDavis
I copied some code from a C#.NET program into a J#.Net program:
StreamWriter sw = new StreamWriter(ThisFile);
sw.Write(msg);
sw.Write(sw.NewLine);
The compiler says: Error 1 Cannot find field 'NewLine' in type
'System.IO.StreamWriter'
But the same code runs just fine in my C# program, and of course NewLine is
certainly part of System.IO.StreamWriter.
Any ideas?
StreamWriter sw = new StreamWriter(ThisFile);
sw.Write(msg);
sw.Write(sw.NewLine);
The compiler says: Error 1 Cannot find field 'NewLine' in type
'System.IO.StreamWriter'
But the same code runs just fine in my C# program, and of course NewLine is
certainly part of System.IO.StreamWriter.
Any ideas?