如何将数据保存在.Cs文件中 [英] How to Save the data in .Cs File
本文介绍了如何将数据保存在.Cs文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在不使用MS-Sql&TextFile
How to save the data in .Cs file, any data without using MS-Sql &TextFile
推荐答案
的情况下将数据保存在.Cs文件中的任何数据.问题尚不清楚.声明将数据保存在.cs
文件中,该文件是C# source code
的扩展名,然后声明不使用用于Data
的MS-Sql
和TextFile
.
假设问题是关于要使用的数据,那么除了MS-Sql之外,还有几个选项,例如Oracle, MySql, MS Access
等.TextFile
不是数据库,因此将数据存储在一个非常有条理的结构中的选择非常有限.方法.另一种选择是使用XML
文件,该文件在.NET.
The question is not clear. It is stated to save the data in.cs
file, which is the extension for theC# source code
and then stated that without usingMS-Sql
andTextFile
which are used for theData
to work with.
Assuming that the question is regarding the Data to work with, then apart from MS-Sql there are several options likeOracle, MySql, MS Access
etc.TextFile
is not a database, hence there is very limited options to store the data in a very organized way. The other alternative could be using anXML
file for which there is good support in.NET.
siri2012中有很好的支持,我认为这是编程的新手. .cs文件包含c#语句,以简单的方式向处理器发出指令.
您使用的变量不会存储在硬盘中,而是存储在ram中,直到您的程序驻留在ram中为止,即直到处理器完成了所有指令的执行.
siri2012 i think u r new to programming.
.cs file contains c# statements,in simple words instructions to processor.
variables u use are not stored in hard disk but in ram and remains there till ur program lives in ram i.e.till processor has completed executing all instructions.
这篇关于如何将数据保存在.Cs文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文