码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
验证码
string a = "a s d f g h j k l"; string b = "A S D F G H J K L"; while (true) { Random r = new Random()...
分类:其他好文   时间:2015-04-03 09:06:18    阅读次数:124
C# 判断是否是节假日
1.引用Newtonsoft.Json.dll2. /// /// 判断是不是节假日,节假日返回true /// /// 日期格式:yyyyMMdd /// public static bool IsHolidayByDate(string date) { bool isHoliday ...
分类:Windows程序   时间:2015-04-03 09:05:21    阅读次数:217
邮箱地址
while (true) { string email = Console.ReadLine(); if (email.Contains("@")||email.Contains(".com")||email....
分类:其他好文   时间:2015-04-03 09:05:14    阅读次数:107
双向链表LinkedList的使用
Document类:class Document { public string Title { get; private set; } public string Content { get; private set; } public byte P...
分类:其他好文   时间:2015-04-03 06:46:18    阅读次数:162
iOS textField文字输入字数以及格式限制
-(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{ ?? ? ? ? NSInteger existedLength = textField.text.length; ? ? NS...
分类:移动开发   时间:2015-04-03 01:41:11    阅读次数:353
[LeetCode] Letter Combinations of a Phone Number
Letter Combinations of a Phone Number Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone b...
分类:其他好文   时间:2015-04-03 01:38:10    阅读次数:160
队列Queue的使用
Document类: class Document { public string Title { get; private set; } public string Content { get; private set; } public Docum...
分类:其他好文   时间:2015-04-03 01:27:21    阅读次数:108
关于Android中的strings.xml的一些其他用法
String XML resource that provides a single string. String Array XML resource that provides an array of strings. Plurals XML resource that carries different strings for different pluralizations of the same...
分类:移动开发   时间:2015-04-03 00:20:33    阅读次数:140
unity3D C#简单代理使用了解
代理声明 using UnityEngine; using System.Collections; public class Test1 : MonoBehaviour { // Use this for initialization public delegate void Mydelegate(string str); public void A(Mydelegate...
分类:编程语言   时间:2015-04-03 00:18:36    阅读次数:245
【Socket编程】使用C++实现Server端和Client端
我是在Visual Stdio 2013上建立了两个工程,分别编译运行下面的两个main文件,然后进行测试的服务端:Server.cpp#include #include using std::cout; using std::cin; using std::endl;#include using std::string;#pragma...
分类:编程语言   时间:2015-04-03 00:17:19    阅读次数:229
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!