06 2013 档案

摘要:例如有一个字符串“Google Nexus 4 mobile phone”,你要搜索“Google”和“Nexus”,那么应该返回TRUE。 static void Main(string[] args) { string[] strArr = { "Nexus","Google"}; string str = "Google Nexus 4 mobile phone"; Console.Write(MatchKeyWords(str, strArr)); } static... 阅读全文
posted @ 2013-06-21 07:07 Ligeance 阅读(642) 评论(0) 推荐(0) 编辑
摘要:一副扑克有52张牌,那么使用数组存储这52张牌,然后打乱这些牌。using System;using System.Collections.Generic;using System.Collections;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Poker{ class Program { static void Main(string[] args) { ArrayList al = new ArrayList(); ... 阅读全文
posted @ 2013-06-13 06:57 Ligeance 阅读(369) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示