.NET int to ordinal string – Add ‘st’, ‘nd’, ‘rd’ and ‘th’ to an int

A nice extension method ported from a PHP sample I came across to convert integers to ordinals in .NET.

Read more No Comments »

© 2017 Garry Passarella. All Rights Reserved. Facebook Twitter Twitter