上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321Discuss: 1.If the integer's last digit is 0, what should the ... 阅读全文
posted @ 2015-11-24 21:38 Binyao 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1Two Sum25arraysortsetTwo Pointers2Add Two Numbers34linked listTwo PointersMath3Longest Substring Without Repeating Characters32stringTwo Pointershash... 阅读全文
posted @ 2015-10-29 22:29 Binyao 阅读(411) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { string test = "this is test case"; //except result="esac tset... 阅读全文
posted @ 2015-10-29 20:23 Binyao 阅读(187) 评论(0) 推荐(0) 编辑
摘要: //统计重复字符串 如 eeefffkkkhjk 得到如下结果 3e3f3khjk; string zipStr = Console.ReadLine(); var charList = zipStr.ToCharArray(); var listArr... 阅读全文
posted @ 2015-10-29 19:40 Binyao 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 一 前言 很少接触HashTable晚上回来简单看了看,然后做一些增加和移除的操作,就想和List 与Dictionary比较下存数据与取数据的差距,然后便有了如下的一此测试,当然我测的方法可能不是很科学,但至少是我现在觉得比较靠谱的方法。如果朋友们有什么好的方法,欢迎提出大家来交流下。先来简单介... 阅读全文
posted @ 2015-10-29 19:36 Binyao 阅读(306) 评论(0) 推荐(0) 编辑
摘要: class Program { static void Main(string[] args) { int[] num1 = new int[] { 3, 5, 6, 7 }; int[] num2 = new int[]... 阅读全文
posted @ 2015-10-28 16:14 Binyao 阅读(1502) 评论(0) 推荐(0) 编辑
摘要: 我接触的设计模式不多,在我接触不多的设计模式里,我觉的单例模式和模板方法模式是最好理解的两种设计模式了。我们先通过文字简单的理解一下什么是模板方法模式,然后用C#代码来写一个小例子加深一下了解,当然所谓的加深是相对初学者的加深。先从字面上理解一下什么是模板方法设计模式,什么是模板?1、我想很多人都懂... 阅读全文
posted @ 2015-10-23 15:30 Binyao 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 什么是Coded UICoded UI Test是Visual Studio 2010对于Testing Project(测试工程)提供的关于UI自动化测试的框架,支持Win32,Web,WPF等UI的自动化测试,是一个非常强大的测试工具,Coded UI支持自动录制和手动编写。Coded UI能干... 阅读全文
posted @ 2015-10-22 20:36 Binyao 阅读(1501) 评论(0) 推荐(0) 编辑
摘要: WCF本质上提供一个跨进程、跨机器以致跨网络的服务调用WCF合并了Web服务、.net Remoting、消息队列和Enterprise Services的功能并集成在Visual Studio中,WCF专门用于面向服务开发。Contracts定义服务契约(Service Contract)引用Sy... 阅读全文
posted @ 2015-10-22 15:46 Binyao 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/artech/archive/2007/02/26/656901.html为了使读者对基于WCF的编程模型有一个直观的映像,我将带领读者一步一步地创建一个完整的WCF应用。本应用功能虽然简单,但它涵盖了一个完整WCF应用的基本结构。对那些对WCF不是很了... 阅读全文
posted @ 2015-10-22 15:24 Binyao 阅读(293) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页