VB.NET vs C#

VB.NET vs C#! The fight goes on, even as VB 9.0 and C# 3.0 specs are out. Top 10 reasons VB.NET is better than C# [http://www.vbrad.com/pf.asp?p=source/src_top_10_vb.htm] and Top 10 reasons C# is better than…

.NET LINQ

The .NET LINQ Project [http://msdn.microsoft.com/netframework/future/linq/default.aspx?pull=/library/en-us/dndotnet/html/linqprojectovw.asp] (Language Integrated Query) is quite cool as an extension to the .NET Framework to encompass language-integrated query, set, and transform operations on relational data (DLinq) and XML (XLinq). Much like…

Designing .NET Apps

Some really cool MSDN articles on .NET architecture and performance: * Designing .NET Application [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/DesignNetApp.asp] * Application Design Guidelines: From N-Tier to .NET [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch001.asp?frame=true]…

String Enum

Is this a dirty hack or what? Implementing a class to replicate a string enumeration (as by-design enum is numeric only): public class RegLibUDFs { public static string CodeName = "AC"; public static string Version = "AV"; public static string Users = "AU"; public static string CompanyDB = "…

Calling Code Dynamically

I’ve never really fancied Interfaces. But its quite surprising to find out that Interfaces are faster [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp02172004.asp] for object reference and invocation, as compared to Delegates or .NET Reflection.…

ILMerge

ILMerge [http://www.theserverside.net/news/thread.tss?thread_id=35917] can merge .NET assemblies into a single assembly. ILMerge is packaged as a console application. But all of its functionality is also available programmatically. While Visual Studio does not allow one to add an executable as a reference, the…