2010年8月6日

抽象类

摘要: using System;namespace suanfa{ abstract public class animal { abstract public void cry();abstract publicvoid jump(); } public class cat:animal {public overridevoid cry() { Console.WriteLine("喵喵"); } ... 阅读全文

posted @ 2010-08-06 23:01 椅望 阅读(118) 评论(1) 推荐(0) 编辑

求数组的和

摘要: using System;//求一个数组的和public class SampleClass{ public int GetSum(int[] arr) { int sum = 0; if(arr==null) { sum = 0; } if (arr.Length==1) { sum=arr[0]; }  else  { for (int i = 0; i < arr.Length; i... 阅读全文

posted @ 2010-08-06 20:10 椅望 阅读(148) 评论(1) 推荐(0) 编辑

2010年7月27日

英文邮件的一些模板

摘要: Frequently Used Sentences for Professional Email WritingTypeFrequently Used Sentences1Greeting messageHope you have a good trip back.How are you?How is the project going on?2Initiate a meetingI sugges... 阅读全文

posted @ 2010-07-27 17:51 椅望 阅读(2017) 评论(0) 推荐(0) 编辑

导航