Rolling your own ternary operator in VB.NET

Published Tuesday, December 29, 2009 2:52 PM

Kevin has posted about the shortcomings of IIF when compared to the ternary operator (? :) in C# and how to solve the problem.

 

Jonathan Cogley is the CEO of Thycotic Software, an agile software services and product development company based in Washington DC.  Secret Server is our flagship enterprise password management product.

Comments

# Joe Chung said on Tuesday, December 29, 2009 4:33 PM

VB.NET already has an If operator that uses short-circuit evaluation - msdn.microsoft.com/.../bb513985.aspx

This Blog

Syndication