Create a pem private and public key

This is how to create a private and public pem key. And also an example no how to take use of the key in .NET. Open up git bash, cd into a folder of your preference. Enter command to create a private key:winpty openssl genrsa -out private.pem 2048 Note that if you want to create …

C# Sorting a List with numbers with colons or comma format

I had a problem where I had to sort a list where there where values with colons, like chapters or similar in ascending order. If you have a List with dot or comma values instead, you can use the same method. 1:3 1:4 1:40 1:5 2:4 5:9 4:90 3:500 3:4 1 1:50 The sort order …