自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

albertliangyg的专栏

程序开发

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 new operator

在一个方法前面加new 操作符是违背OO的思想的,不过面试的人可能会问到。例如: BaseClass  ab =new SubClass(); ab.MethodA(); //MethodA 是 BaseClass中的virtual 方法,在SubClass中被override。 此时调用的是BaseClass中的方法而不是子类中的。 SubClass su=new SubCl

2013-06-27 18:06:09 507

原创 26进制转换

一道面试题: Convert an integer to a string following the rule of :            1-> A            2-> B            ...            26-> Z            27-> AA            28-> AB            ...

2013-06-27 16:36:57 767 1

原创 C#读取Excel文件

1. OleDb方式 [using System.Data.OleDb]    Office 2007及以上版本需要使用"Microsoft.ACE.OLEDB.12.0" 的连接字符串,Office 2003及以下版本需要使用"Microsoft.Jet.OLEDB.4.0"。public IList LoadExcelFile(string excelFileName)

2013-06-24 14:07:53 635 1

原创 BackgroundWorker

BackgroundWorker的事件响应函数:private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; demoProcess =

2013-06-14 10:27:28 588

转载 5个免费的英语听力网站

ESLPOD.com (大量免费的听力内容,涵盖日常生活、托福词汇、美国文化介绍等。难度:初级-中级)TrueValueEnglish.com (专为英语学习者准备的每日一词、英语发音纠正、美国俚语、托福词汇精讲、影视花絮、名人访谈等栏目。难度:中级-高级)betteratenglish.com (内容偏口语化,生活化,定期提供免费的podcast及对应的文字介绍。难度:初级-中级)c

2013-06-07 23:06:56 1182 1

原创 把Collection转化为XML

IList sources = sourceFileLocation.Split(semicolonSeparater, StringSplitOptions.RemoveEmptyEntries).ToList();XElement satFiles = new XElement("Files", from f in sources select new X

2013-06-07 14:52:53 716 2

转载 规则动词的过去式及发音规则

规则动词的过去式词尾变化有几种:  1.一般情况下加ed,如watched, planted, watered, pulled, climbed, picked。  2.以不发音字母e结尾的加d,如liked, moved, tasted。  3.以辅音字母加y结尾的变y为i再加ed,如study——studied。  4.以1个元音字母加1个辅音字母结尾的重读闭音节,双写最后一个

2013-06-04 17:34:19 6081

原创 To doing

1. look forward to doing  期待做某2. object to  反对,抗议   If she does not object to it, why should we?3. be used to  习惯于   The paper then considers whether antitrust law canbe used to correct the

2013-06-02 23:03:19 892 1

Lambda Calculi with Types

理解Lambda计算背后的理论,有助于对集合类进行各种复杂的逻辑运算。

2018-09-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除