Leaping in PowerShell
· 2008-02-29 14:04 by Thijs Kroesbergen for Brokenwire.NET
Because today is a special day, Leon decided to use C# to calculate a leap year. Because I'm in the PowerShell mood, I'll use that to do exactly the same thing!
Are you ready? Here it is:
[DateTime]::IsLeapYear($year)
Can you see the connection between C# and PowerShell?
Publishing test results to TFS Singularity: open source C# Operating System