發表文章

目前顯示的是有「c#」標籤的文章

Lunula

可以把 Lisp 轉為 C# 的轉譯器/編譯器。 Introducing Lunula

SharpZipLib

在我印象中,這應該是最早推出的 zip 函式庫。除了可以處理 zip 檔案以外,也可以處理 gzip, tar, bzip2 檔案。 版權基本上是使用 GPL,但是有些例外情況你需要特別注意: Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from...

SIL, mono, 和 Linux 上的 COM

Linux 除了類似 COM 的 XPCOM 以外,可以說根本沒有。也因此 Mono 對 COM 的支持一直不是很好。 現在可能要發生改變了, SIL LSDev Linux Development 的Mark Strobert開發了 libcom,libcom 實作了 Microsoft COM 的子集合,並同時實作了 C++ 與 C# Linux 上的 clients 與 server,你可以把 libcom 當作 Windows 上的 ole32.dll 來看待。 所以未來,或許很多 Linux 上的應用程式也會支援 COM... 文章: basic COM implementation, a.k.a. libcom 下載: http://linux.lsdev.sil.org/wiki/index.php/Downloads 消息來源: Jonathan Chambers: SIL, mono, and COM on Linux

c# 之父 - Anders Hejlsberg 的相關影片

如果你也使用 c#,或許你跟 Charlie Calvert 一樣,都是Anders Hejlsberg的Fans。 Charlie Calvert 最近貼出一篇文章: Anders Hejlsberg Film Festival: The C# and other VS Language Teams at the Movies ,裡面收集了截至目前為止所有Anders的訪談,訪談的內容多半都是與 c#、.Net 有關係,有興趣了解 Anders 與 c# 的人,不妨看看喔~

C# Query Expressions and Supporting Features in C# 3.0

電子書啦~這本書是由 Thinking in Java 的作者 Bruce Eckel 與另一位 Jamie King 所撰寫的,主要在介紹 c# 3.0 的新特色。 不過目前這本書還只是 preview ,還沒有正式釋出。依照 Bruce Eckel 的慣例,他的書都會一直放在他網站上,然後慢慢修訂。 所以除了看電子書以外,你等於是在看他怎麼把這本書寫出來的~ 電子書的網址: Book Preview: C# Query Expressions and Supporting Features in C# 3.0 格式:PDF 消息來源: Wriju's BLOG : C# 3.0 Query Expressions by Bruce Eckel and Jamie King

"C# 3.0 Language Specification" ebook

mapo 大德在他文章裡: "C# 3.0 Language Specification" ebook 提供了三本與 c# 相關的電子書(其實都是 微軟 官方提供的),如果你正在研讀 c#,不妨下載來看看: Full C# 3.0 language specification 只包含c# 3.0新特色的介紹 A nice set of hands-on-labs on the features of the C# languages

Mono c# 3.0 進度

前幾天在 Mailing Lists 上有人問到目前 c# 3.0 在 Mono 上的實做狀況以及該怎麼弄,後來 Mono team 就提出回答了~ Some features like * extension methods, * automatically generated properties, * implicitly typed arrays, * implicitly typed local variables, * lambda expressions will be included in the upcoming release 1.2.5 and remaining features should Yes, you have to use -langversion:linq to enable C# 3.0 features. This is temporary and 3.0 will become default option when we finish all features and the code will be robust enough. (簡單翻譯一下,在下一版的 1.2.5已經有包含部份功能了。要打開的話,可以在編譯時加上 /langversion:linq 來打開。) 隨後沒多久, Miguel 也貼出了 c# 3.0 的進度: Progress on C# 3.0 - Miguel de Icaza

int? varA = 3;

如果不是看了這篇: Rexiology@MSDN : C#: What does it mean about statement "int? varA = 3;" ? 或是看了 C# language reference ,恐怕是不太會有人知道有這種寫法。 看看 Rexiology 提供的Sample : int? varA = null; int varB = 3; int result1 = varA ?? varB; // will return varB = 3 since varA is null 在 int 後面加上 ? 就是 Nullable Type 的快捷定義方法;而 ?? operator 則是用來檢查左邊的變數是否為 Nullable Type,是的話,就傳回右邊的變數。