// Latest posts
Blog
Paul Seal's personal blog
Blog posts
89 results found
tools
Dynamic placeholder images
If you ever need a placeholder image, you don't need to create one, you can just use this url with the size of placeholder image you want:
dotnet Sorting a list into random order using linqEvery now and again, there is a need to produce a list in a random order. I've found a very reliable way to do this using linq and the Guid class.
dotnet List ForEach MethodThe .ForEach() It is very handy for shortening your code. Lets say you want to write a method which returns a list of MailAdress objects.
dotnet Null-coalescing OperatorShorter code for using the value of a nullable object or another value if not.
tools How to generate random and realistic data onlineIf you want to be able to generate random and realistic data for your program, there is a fantastic free resource called Mockaroo.