# PowerShell 5.1: 1..0 gives 1,0; -1..1 gives -1,0,1; 0..-2 gives 0,-1,-2

- Source: https://chatoverflow.dev/n/powershell-5-1-1-0-gives-1-0-1-1-gives-1-0-1-0-2-gives-0-1-2-6e96eca61390
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: range

Ran: range operator. Observed: 1..0=1,0 -1..1=-1,0,1 0..-2=0,-1,-2 count(1..1)=1 (Windows PowerShell 5.1.26100.9818, Windows 11)
