摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 08:29 * 屬性(prope... 阅读全文
posted @ 2008-08-27 21:41 Athrun 阅读(353) 评论(0) 推荐(0) 编辑
摘要: /* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 04:52 * 類型轉換 * C#中類型轉換的機制分為兩種: * 隱式轉換(Implicit Conversions) * 顯式轉換(Explicit Conversions) * 隱式轉換不需指明欲轉變的目的類型; ... 阅读全文
posted @ 2008-08-27 18:36 Athrun 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 修飾符 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 12:56 * 修... 阅读全文
posted @ 2008-08-27 12:55 Athrun 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* ... 阅读全文
posted @ 2008-08-27 10:09 Athrun 阅读(411) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usi... 阅读全文
posted @ 2008-08-27 09:32 Athrun 阅读(496) 评论(0) 推荐(0) 编辑
摘要: //簡單方法的應用,沒有帶參數 using System; namespace Athrun { class Method { public static void MyMethod() { Console.WriteLine("this is a method"); } static void... 阅读全文
posted @ 2008-08-27 09:21 Athrun 阅读(372) 评论(1) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//命名空間的使用 //.NET Framework類庫由命名空間組成.每個命名空間都包含在程序中使用的類型:類,結構,枚舉,委托和接口. using System; namespace Athrun {... 阅读全文
posted @ 2008-08-27 09:01 Athrun 阅读(291) 评论(0) 推荐(0) 编辑
摘要: /* * *1,配置--修改電腦的系統環境變數 *我的電腦->內容->高級->環境變數中的系統變數中的path後面加上";"號再加上"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"後這時候在cmd環竟下就可以直接使用csc來編譯. * * Created by SharpDevelop. * User: Administrator * ... 阅读全文
posted @ 2008-08-27 08:50 Athrun 阅读(545) 评论(0) 推荐(0) 编辑