程式|下載 前幾天沒事,寫了一個小程式,可以用於學習C#。程式使用了VS.NET環境編譯,你的機器只要安裝了.NET Framework SDK就可以運行。源碼和執行檔案可以下載你不想下載也可讀一下源碼(圖片資源等需要下載)。namespace Leimom.FiveChess{ using System; using
Recently somebody asked how to get the Hard Drive serial number in VB.NET. The easy answer of course is to use VBScript with the WMI classes. Actually, this gets the "Volume" serial number, not the hard-coded manufacturer's hard drive
編譯|過程|執行 1.You write source code in C#. 2.You then compile it using the C# compiler (csc.exe) into an EXE. 3.The C# compiler outputs the MSIL code and a manifest into a read-only part of the EXE that has a standard PE
xml 對於XML,想必各位都比較瞭解,我也就不用費筆墨來描述它是什麼了,我想在未來的Web開發中XML一定會大放異彩,XML是可延伸標記語言 (XML),使用它企業可以制定一套自己的資料格式,資料按照這種格式在網路中傳輸然後再通過XSLT將資料轉換成使用者期望的樣子表示出來,這樣便輕易的解決了資料格式不相容的問題。用於Internet的資料轉送,我想,這是XML對於我們這些程式員最誘人的地方!
odbc|預存程序 DB2版本:DB 2 UDB 8.X For Linux 在.Net 中 ,用odbc調用db2預存程序,不能使用這種類似Oledb(ADO)調用預存程序的常用方法:System.Data.Odbc.OdbcCommand cmd=null;System.Data.Odbc.OdbcConnection con =new
C# struct/class Differencesstruct Direct{ //...}class InDirect{ //...}Events are locked? Exist on stack or heap? Can cause garbage collection? Meaning of this? Always has a default constructor? Default construction triggers static construction? Can
http://www.microsoft.com/china/msdn/library/langtool/vcsharp/vbconcprogramminglanguagefuturefeatures.mspx1. Generic Type 泛型 定義一個MyList<T>,對這個MyList類設定方法,方法中,使用T而不是具體的類型float或者int什麼的,忽略了類型的區別 MyList<MyClass> list1 = new