I was curious to see the result... I get: Dim i As Integer = 0 Dim j As Integer = ledCount While i < ledCount System.Math.Min(System.Threading.Interlocked.Increment(i),i-1) System.Math.Max(System.Threading.Interlocked.Decrement(j),j+1) End While
yurk ... Sébastien On 2/22/07, Peter Ritchie <[EMAIL PROTECTED]> wrote:
For future reference, following are a list of decent C# to VB.NET (and some VB.NET to C#, if not all): http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx http://www.carlosag.net/Tools/CodeTranslator/Default.aspx http://www.kamalpatel.net/ConvertCSharp2VB.aspx http://authors.aspalliance.com/aldotnet/examples/translate.aspx Only the first one (http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx) translates your code sample properly... =================================== This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
-- Sébastien www.sebastienlorion.com