zoukankan      html  css  js  c++  java
  • C#函数库

    //读取文本文件并返回内容不同的那一行
            public static String different(String sOldFile, String sNewFile)
            {
                StreamReader srOld = new StreamReader(sOldFile);
                StreamReader srNew = new StreamReader(sNewFile);
                String sOldLine;
                String sNewLine;
                while(true)
                {
                    sOldLine = srOld.ReadLine();
                    sNewLine = srNew.ReadLine();
                    if( (sOldLine==null) || (sNewLine==null))
                    {
                        return null;
                    }
                    if( sOldLine == sNewLine)
                    {
                        continue;
                        
                    }
                    else
                    {
                        return sNewLine;
                    }
                    
                }
            }

  • 相关阅读:
    delphi string 到excel
    VS 快捷键
    delphi Tform 释放
    cxSplitter 收缩和展开
    delphi 加载inc文件
    delphi TcxPageControl 动态嵌入窗体
    修改tomcat-users.xml 失效的问题
    TCXGRID 属性解释
    suse 设置ftp服务器
    用正则表达式修改html字符串的所有div的style样式
  • 原文地址:https://www.cnblogs.com/bingxing/p/8598774.html
Copyright © 2011-2022 走看看