使用c#验证文本文件 [英] Validate the text file using c#

查看:92
本文介绍了使用c#验证文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





使用c#创建一个可执行文件,它必须验证以固定长度格式存在的文本文件的内容(比如固定长度为30) 。如果固定长度不是定义的格式,那么它应该被捕获例外。



请建议我不要从头开始。

Hi,

Am creating one executable file using c# which has to validate the content of text file present in fixed length format (say for fixed length is 30). In case if fixed length was not in defined format then it should be caught in exception.

Please advice am not getting the scratch to begin with this.

推荐答案

这篇关于使用c#验证文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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