码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果
99乘法表
{ static void Main(string[] args) { for (int i = 1; i <=9; i++) { for (int j = 1; j <=i; j++) ...
分类:其他好文   时间:2015-04-01 13:03:56    阅读次数:112
C#取硬盘、CPU、主板、网卡的序号 ManagementObjectSearcher
原文:C#取硬盘、CPU、主板、网卡的序号 ManagementObjectSearcher private void button1_Click(object sender, EventArgs e) { textBox1.Text = ""; foreach (string s in listB...
分类:Windows程序   时间:2015-04-01 13:00:38    阅读次数:368
oracle Group by 分组查询后,分页
public Map getInWareHouseReport(int i, int j, InWareHouse inWareHouse) { //查询分组后总条数 String countquery="select WS_SKU_ID,sum(IN_NUMBER),sum(WH_MONEY).....
分类:数据库   时间:2015-04-01 12:55:09    阅读次数:229
CString char BSTR 转换
转自:http://www.cnblogs.com/lingyun1120/archive/2011/11/03/2234169.html一.CString, int, string, char*之间的转换string 转 CStringCString.Format("%s", string.c_s...
分类:其他好文   时间:2015-04-01 12:55:02    阅读次数:109
String,StringBuffer与StringBuilder的区别,希望有帮助
String 字符串常量StringBuffer 字符串变量(线程安全)StringBuilder 字符串变量(非线程安全)简要的说, String 类型和 StringBuffer 类型的主要性能区别其实在于 String 是不可变的对象, 因此在每次对 String 类型进行改变的时候其实都等同...
分类:其他好文   时间:2015-04-01 12:54:15    阅读次数:75
c#基础知识复习
平时写代码也就依照样子画葫芦,重复着相同的工作,也很无聊,现在开始整理下,一些基础知识,都已经快忘记光了,写下来记录下,平时还可以重温下。 什么是属性? 比如: public class A{ public int Id{get;set;} public string Name...
分类:Windows程序   时间:2015-04-01 12:44:28    阅读次数:178
redis缓存数据表
直观上看,数据库中的数据都是按表存储的;更微观地看,这些表都是按行存储的。每执行一 次select查询,数据库都会返回一个结果集,这个结果集由若干行组成。所以,一个自然而然的想法就是在Redis中找到一种对应于数据库l行的数据结构。Redis中提供了五种基本数据结构,即字符串(string)、列表(...
分类:其他好文   时间:2015-04-01 12:43:28    阅读次数:105
Length of last word--LeetCode
题目: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: ...
分类:其他好文   时间:2015-04-01 11:31:38    阅读次数:138
Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word:...
分类:其他好文   时间:2015-04-01 11:29:06    阅读次数:143
Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()()...
分类:其他好文   时间:2015-04-01 11:25:47    阅读次数:110
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!