码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
12月21日笔记
//输出 Console.WriteLine("这是一行文字"); 自动回车的Congsole.Write(""); 不自动回车注意: 1、大小写敏感。(快捷键操作)2、括号,引号,分号都是英文状态下的符号。3.结尾不要忘记写分号。//输入string s = Console.ReadLine()....
分类:其他好文   时间:2014-12-21 23:39:06    阅读次数:255
C#。1 数据类型,常量变量,类型转换
C#.一、数据类型 1,字符串类型(string) 。放入一串字符串,需要用""引起来。 列如: string a ="999"; 2,整型 (int)。 4字节 不常用的整型 long 8字节、short 2字节 、 tiny 1字节例如 : int a = 10; 3,小数型 又称 浮点型 (f...
分类:Windows程序   时间:2014-12-21 23:37:24    阅读次数:287
网页解析Jsoup简单使用
public static void main(String[] args) throws IOException { //System.out.println("Hello World!"); /** * 获取 */ Fil...
分类:Web程序   时间:2014-12-21 23:32:41    阅读次数:232
【leetcode】String to Integer (atoi)
String to Integer (atoi)Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, plea...
分类:其他好文   时间:2014-12-21 23:28:18    阅读次数:224
Swift - Protocols and Extensions
The Swift Programming Language中的代码加上部分EXPERIMENTimport UIKitprotocol ExampleProtocol { var simpleDescription: String { get } mutating func adjus...
分类:编程语言   时间:2014-12-21 23:27:04    阅读次数:209
文件流的方式下载文件
//流方式下载 protected void Button4_Click(object sender, EventArgs e) { string fileName = "aaa.zip";//客户端保存的文件名 string filePath = Server.MapPath("DownL...
分类:其他好文   时间:2014-12-21 22:06:47    阅读次数:226
Shell字符串削除
Shell string.
分类:系统相关   时间:2014-12-21 22:03:15    阅读次数:179
C#输入输出及类型
//输出 Console.WriteLine("大哇塞");自动回车的。Console.Write("Hello world"); 不带回车的注意:1.大小写敏感。(快捷键操作)2.括号,引号,分号都是英文状态下的符号。3.结尾不要忘记写分号。//输入 string s = Console.Read...
分类:Windows程序   时间:2014-12-21 22:01:40    阅读次数:232
【转】三种常用的字符串判空串方法
1.三种常用的字符串判空串方法:Length法:boolisEmpty=(str.Length==0);Empty法:boolisEmpty=(str==String.Empty);General法:boolisEmpty=(str=="");2.深入内部机制:要探讨这三种方法的内部机制,我们得首....
分类:其他好文   时间:2014-12-21 21:56:38    阅读次数:311
工作执行日志编写
1 /// 2 /// 路径 3 /// 4 static string log = Path.Combine(AppDomain.CurrentDomain.SetupInformation.ApplicationBase, string.F...
分类:其他好文   时间:2014-12-21 21:50:59    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!