Adil Hindistan
banner
hindistan.net
Adil Hindistan
@hindistan.net
Engineer, techie, Cloud Dev... Views are my own.
^ I see, you were trying to demo how scoping works?
December 31, 2024 at 4:43 PM
ok, this looks pretty straightforward, what am I missing? :)
x will be incremented by 3 7 times. On the 6th it reaches 18 which is still less than 20, so it runs one more time to reach 21 and then condition breaks out of the loop
December 31, 2024 at 3:15 PM
Good one! That second line is initializing an array with 5 zeros.
The second arg to CopyTo is the interesting one, I did not know about. It shifts the starting point by 2 and copy start with the third elem, resulting in answer 0,0,1,2,3
December 14, 2024 at 5:22 PM
Hello WorXd. By default replace method is case sensitive and culture insensitive. Third param can be set to $true to make it case-insensitive. Last param is for culture, so you could have omitted both 3rd and 4th to get the same result. I guess, you wanted to show people what the defaults are?
December 11, 2024 at 10:47 PM
done
November 17, 2024 at 9:34 AM
Like…ddos’ing the service
November 17, 2024 at 5:52 AM