C#如何在mymy项目(命名空间)中将字符串写入嵌入式txt文件 [英] C# how can I write string into an embedded txt file inmy project(namespace)

查看:84
本文介绍了C#如何在mymy项目(命名空间)中将字符串写入嵌入式txt文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的命名空间下的peoject中有一个txt文件(about.txt),我想写一些字符串吗?我如何在c#中编码? thx ...

I have a txt file(about.txt) in my peoject under my namespace, and I want to write some string into it? How can I code in c#? thx...

推荐答案

首先,请看我对这个问题的评论。阅读一般的.NET编程和Visual Studio(如果你使用它),来修复你对事物的基本理解。



那么,看看:http://msdn.microsoft.com/en-us/library/system.io.aspx [ ^ ]。



这是BCL的基础部分,每个开发人员都应该非常清楚。全部学习,其中任何一部分都不会多余。



-SA
First, see my comments to the question. Read on general .NET programming and Visual Studio (if you use it), to fix your basic understanding of things.

And then, just see: http://msdn.microsoft.com/en-us/library/system.io.aspx[^].

This is very basis part of BCL which every developer should know very well anyway. Learn it all, no part of it will be redundant.

—SA


这篇关于C#如何在mymy项目(命名空间)中将字符串写入嵌入式txt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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