c#

Dynamic Sorting based on Enum and Dropdown

I come across many situations when I have multiple sort conditions, based on an enum, and I wanted a dynamic way of doing it without having to write a case statement to deal with it.

Read more...

Split a comma separated string list to a list of integers in C#

Today I needed to get a list of UserIds which are stored in the web.config file, separated by commas, in one string.

Read more...

CALCULATING FINANCIAL YEAR

Last week I needed to work with the UK Standard Financial Year, based on a date being passed into a function to narrow a query down.

Read more...