如何使Vb项目从txt文件vb.net中读取自己的源代码 [英] How To Make Vb project read its own source code form txt file vb.net
本文介绍了如何使Vb项目从txt文件vb.net中读取自己的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何让程序读取源代码如
textbox1.text =vb.net
me.name =new
解决方案
请看我对这个问题的评论。
现在,以防万一:如果你认为这个问题可以帮助你写一个 quine ( http://en.wikipedia.org/wiki/Quine_%28computing%29 [ ^ ]),你错了:你要找的东西不能被视为有效的解决方案。为VB或VB.NET编写quine是一项非常简单的练习,但它对于一些编程培训很有用。
-SA
how can i make program read source code like
textbox1.text ="vb.net"
me.name = "new"
解决方案
Please see my comments to the question.
Now, just in case: if, by any chance, you think that this question could help you to write a quine (http://en.wikipedia.org/wiki/Quine_%28computing%29[^]), you are wrong: what you are looking for cannot be considered as a valid solution. Writing quine for VB or VB.NET is a pretty trivial exercises, but it can be useful for some training in programming.
—SA
这篇关于如何使Vb项目从txt文件vb.net中读取自己的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文