See more posts here: https://snailsharp.dreamwidth.org
Today's Document
2025 on Tumblr: Trends That Defined the Year
Game of Thrones Daily
d e v o n

Peter Solarz
Xuebing Du

izzy's playlists!
occasionally subtle

★

"I'm Dorothy Gale from Kansas"
sheepfilms
he wasn't even looking at me and he found me
taylor price

titsay

shark vs the universe
cherry valley forever
art blog(derogatory)
trying on a metaphor

seen from Poland
seen from T1

seen from United Kingdom

seen from Italy

seen from United States
seen from United States

seen from United States
seen from Lithuania
seen from Canada

seen from Malaysia

seen from United States
seen from T1
seen from Malaysia
seen from France
seen from United States
seen from Bulgaria
seen from Thailand
seen from China
seen from United States

seen from Canada
@snailsharp
See more posts here: https://snailsharp.dreamwidth.org

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
Parsing and sorting version numbers in .NET
This seems like a good place to share my absolute favorite line of code.
Sometimes I need to take a version number - something like 5 or 6.4 or 2.25.1 - and see whether it's newer or older than another version number, or maybe just take a list of version numbers like this and put them in order.
The projects I'm working on usually have at least a bit of F# code, or a dependency on an F# library (even if most of the code is C#), so I usually turn to my favorite bit of code to create an equatable, sortable, and immutable "version number" type:
type ProductVersion = { components: int list }