湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页

2015年11月15日

摘要: A abstract class An abstract class is a class that must be inherited and have the methods overridden. It can not be instantiated. And at least one of 阅读全文
posted @ 2015-11-15 21:11 fdyang 阅读(419) 评论(0) 推荐(0)

摘要: 1. Convert string from "AAABBCC" to "A3B2C2". 当面试者提出这个问题的时候,首先需要确认题意:譬如:字符串是不是顺序的,是否有字符重复出现。 例如: ABBAACB , AAABBCCCBBAA。 如果是顺序的话可以一次遍历字符,如果是杂序的话,需要2次遍 阅读全文
posted @ 2015-11-15 21:10 fdyang 阅读(826) 评论(0) 推荐(0)

2015年11月14日

摘要: 这个是非常基本的一道面试题,但是要考虑周全。首先反转一个字符串:基本思路是变成Char数组,然后调用C#里面的方法,或者设定两个index,从头,尾向中间遍历,并交换。方法一: Array.Reverse(char *). 注意在开始的时候要判断字符串为null或空。 public s... 阅读全文
posted @ 2015-11-14 12:19 fdyang 阅读(6897) 评论(0) 推荐(0)

2015年11月13日

摘要: (Note: Most are collected from Internet. 绝大部分内容来自互联网)1. What's the difference between Hashtable and Dictionary?Hashtable and Dictionary are collection... 阅读全文
posted @ 2015-11-13 16:22 fdyang 阅读(350) 评论(0) 推荐(0)

2015年11月12日

摘要: 基本上在面试的时候,会具体到两个int数组,或string数组。具体也就是讨论算法。首先需要的是和面试的人确认题目的含义,并非直接答题。然后,可以提出自己的想法,首先最快的是用linq { List array0 = new List() { 1, 2, 9, 3... 阅读全文
posted @ 2015-11-12 22:33 fdyang 阅读(8112) 评论(0) 推荐(0)

2015年10月22日

摘要: Role:The purpose of the Singleton pattern is to ensure that there is only one instance of a class, and that there is a global access point to that obj... 阅读全文
posted @ 2015-10-22 14:11 fdyang 阅读(178) 评论(0) 推荐(0)

2015年10月21日

摘要: What is a State Machine? Any device that changes its state from one to another due to some actions are defined to be state machines. For example an AT 阅读全文
posted @ 2015-10-21 15:27 fdyang 阅读(2326) 评论(0) 推荐(0)

2015年9月22日

摘要: Debug 模式下运行程序的时候,Output 窗口出来个错误“A first chance exception of type 'System.ArgumentException' occurred in System.Data.dll”。 但是并没有直接throw错误。无法知道具体在哪一步发生了... 阅读全文
posted @ 2015-09-22 13:31 fdyang 阅读(666) 评论(0) 推荐(0)

2015年9月17日

摘要: 增加一行:DataTable measurements = new DataTable(); measurements.Columns.Add("StationTestName", typeof(string)); ... 阅读全文
posted @ 2015-09-17 12:02 fdyang 阅读(318) 评论(0) 推荐(0)

2015年9月15日

摘要: 转载:http://www.cnblogs.com/fellowcheng/archive/2010/08/21/1805158.htmlExcelHelper(Excel2007)Code highlighting produced by Actipro CodeHighlighter (free... 阅读全文
posted @ 2015-09-15 16:04 fdyang 阅读(381) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页