go top

双语例句

  • The example shown in Listing 1 shows a top-level method called hello, which uses the writeLine method to emit a string to standard output.

    清单 1 中的示例给出一个名为 hello 的顶级方法,它使用 writeLine 方法将字符串发送到标准输出。

    youdao

更多双语例句

百科

writeline

描述 向 TextStream 文件写入指定字符串和新行字符。 语法 object.WriteLine([string]) WriteLine 方法的语法有以下部分: 部分 描述 object 必选。应为 TextStream 对象的名称。 string 可选。要写入文件的文本。如果省略,将向文件写入新行字符。 需要与StreamWriter配合使用,先定义一个StreamWriter对象,如下: StreamWriter sw;(vb:dim sw as StreamWriter = new StreamWriter("写入的文件名",是否追记到原来的文件中,"编码方式")) sw.WriteLine("加入你要写的string");

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定