After Mini C# Lab 1.1 was released, the most frequently asked quesitons are: 1) Could it support VB.NET? 2) Where is the source code?
Now, here comes Mini C# Lab ver 1.2 and some wishful features are added.
First, it supports VB.NET now! Yes, **VB.NET**!! Although it's Mini "C#" Lab, many people still want to use it to test VB.NET code. I found that the CodeDomProvider provides the abstract class concept, so we can use the almost same code to add VB.NET support easily. Since it's not difficult at all, thanks to .NET RD team, I put the VB.NET support into Mini C# Lab ver 1.2.
Second, since many people asked about the source code, here you are. In my life of coding, I learned a lot from open source projects and always believe the spirit of sharing over Internet makes the world better day by day. So, here is my two cents, I have put Mini C# Lab on CodePlex now, if you are interested in how it works, you can find the source code there. One more thing, if you find any lousy or dirty code inside my source, please let me know.
Since it's on CodePlex now, besides my blog, you can give your feedback on CodePlex, too. Thank you!
Mini C# Lab釋出後，最常被問到的兩個問題是: 1) 可不可以支援VB.NET呢? 2) 哪裡可以下載原始碼?
薑 薑 薑 薑~~~ Mini C# Lab ver 1.2來了，裡面加了幾個大家渴望的功能。
第一，支援VB.NET，是的，VB.NET!! 雖然這個專案叫做Mini "C#" Lab，但詢問VB.NET的人真不少。我研究了一下CodeDomProvider，發現它具備抽象類別的觀念，因此加入VB.NET動態編譯支援比想像中簡單許多。原本想丟出原始碼讓需要VB.NET的人自己動手，一時發了佛心，就順手把VB.NET的功能加進去，希望大家會喜歡。:P
第二，原始碼大放送! 回首自己學習程式的歷程，一路上也是喝Internet眾多Open Source Code的奶水長大的，而我一直深信這種分享精神是讓世界快速進步的重要原動力。由於這個專案算是目前做過的幾個小工具中嚴謹度較高的，較上得了檯面，索性連同Source Code放上CodePlex分享給有興趣的人囉! 如果有人發現程式裡用了什麼歪七扭八的怪寫法，願意開示更簡潔的有效做法，也請發揮愛心，留個言大力指點一下。