摘要: out 关键字会导致参数通过引用来传递。这与 ref 关键字类似,不同之处在于ref 要求变量必须在传递之前进行初始化 abstract:表示为抽象成元,不能和static、virtual一起使用。 internal:可用于类型或者成员,使用该修饰符声明的类型或者成员只能在同一程集内访问。接口的成员 阅读全文
posted @ 2020-03-31 16:42 GenLang 阅读(260) 评论(0) 推荐(0)
摘要: (1)、string.Compare(string str1,string str2,bool ignoreCase) //忽略大小写比较 当str1 > str2时,返回1 当str1 = str2时,返回0 当str1 < str2时,返回-1(2)、string.Concat(string s 阅读全文
posted @ 2020-03-31 16:41 GenLang 阅读(196) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/Brambling/p/6886221.html 阅读全文
posted @ 2020-03-31 16:39 GenLang 阅读(201) 评论(0) 推荐(0)
摘要: //2008年4月24日 System.DateTime.Now.ToString("D"); //2008-4-24 System.DateTime.Now.ToString("d"); //2008年4月24日 16:30:15 System.DateTime.Now.ToString("F") 阅读全文
posted @ 2020-03-31 16:37 GenLang 阅读(487) 评论(0) 推荐(0)
摘要: 刷新所有的视图:select 'sp_refreshview ' + [name] + 'go'from sysobjects where xtype = 'v' 阅读全文
posted @ 2020-03-31 16:34 GenLang 阅读(1015) 评论(0) 推荐(0)