Geeks With Blogs


Viktor Bergman .Net für alles March 2007 Entries
The ‘=’ operator vs. Equals() in VB.Net
As I was reading yet another chapter in Code Complete Second Edition by Steve McConnell I started to think about the VB operator '=' versus the C equivalent '=='. Even though im a big VB fan I must say the C style is much better. In VB we use the same operator for two purposes, in one place we use it for ASSIGNING data and in another we use it for COMPARING data. However, I thought that why not use Equals(obj,1 obj2) instead of '=' for comparisons, if not only for the sake of maintaining a more consequent ......

Posted On Monday, March 26, 2007 8:07 AM

Scott Guthrie on the new features of Orcas, a must read!
If anybody has missed it, Scott Gutrie has started to post a great series of posts about the new features of the Visual Studio Orcas release (planned to be released later this year). Here is a link to the last post about class extension methods, that BY FAR must be the coolest new feature yet have I have seen in Orcas. Some VB9 content about the stuff he mentions (in C#) can be found here ......

Posted On Thursday, March 15, 2007 8:05 AM

Copyright © Viktor Bergman | Powered by: