记录操作的开始和结束 [英] log the start and end of the operation

查看:87
本文介绍了记录操作的开始和结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是论坛的新手。我想问一下如何在Visual Studio 2013中创建一个txt文件并在私有子的开头和结尾写入。



谢谢

Hello everyone, I'm new to the forum. I wanted to ask how do I create a txt file and write in the beginning and the end of a private sub in Visual Studio 2013.

thanks

推荐答案

File.AppendAllText [ ^ ]是最简单的方法。该链接包括如何在子例程中使用它的演示。
File.AppendAllText[^] is the simplest way. The link includes a demonstration on how to use it in a subroutine.


这篇关于记录操作的开始和结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆