I'm trying to import my SQL 2000 database into 2005. How do you do this? I
cannot find any documentation on this and it doesn't look to be a simple
matter of creating and restoring a backup. There must be more to it but I
cannot find anything on the Internet in regards to how to upgrade.
Any su
Actually, I didn't notice the use of Interlocked.Increment
and .Decrement. C# makes no guarantees that the ++ operator is thread-
safe. I'm not sure why the author of that converter would write it that
way.
If you don't want the Interlocked methods you could rewrite the C# as
follows:
for(int i=
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
<[E