随笔分类 - 函数
C#函数
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
摘要://读取文本文件并返回内容不同的那一行 public static String different(String sOldFile, String sNewFile) { StreamReader srOld = new StreamReader(sOldFile); StreamReader s
阅读全文
摘要:这里有两个函数: comment(string) curChar(char) comment.charAt(n) n 字符串的下标 改变文件的HTML属性为curChar.bold()
阅读全文
摘要:public static bool IsNullOrEmpty(string value) 如果 true 参数为 value 或空字符串 (""),则为 null;否则为 false。 返回组合后的字符串 decimal temp = 20.4m; string s = String.Forma
阅读全文
摘要:String.IsNullOrEmpty(s) String.Split() RemoveEmptyEntries()
阅读全文
摘要:public bool Contains(string value)如果值参数出现在此字符串内,或者值为空字符串(“”),则为true; 否则为false using System; class Example { public static void Main() { string s1 = "The quick brown fox jumps over th...
阅读全文
摘要:public bool Contains(string value)如果值参数出现在此字符串内,或者值为空字符串(“”),则为true; 否则为false
阅读全文