Monthly Archives: November 2010

VB.NET If(condition, truePart, falsePart) != C#’s ?:

The ternary If operator (http://msdn.microsoft.com/en-us/library/bb513985.aspx) was new in VB.NET 2.0 (VS2008). However, I don’t use it much, and I have counted on it being equal to the ?: operator in C#. Today I discovered an interesting difference. Continue reading

Posted in .NET, C#, VB | Leave a comment