Archives for 2019 - Page 2
Generate Random Password
It is a common requirement across most of the online application to generate some random password while registering a new user or for any password reset request in case forgetting an…
How to merge or combine multiple files
If you have any requirement to merge multiple files (like .txt, .sql) of similar file types into a single consolidated file. For example, we might have many .SQL files and…
Sorting JSON Array
There could be a situation where we need to sort the given complex JSON Array object based on the available column/properties. Following is the sample code which demonstrates how can…
Converting Byte Array to a File
Hi following is the two approaches for converting an existing byte array to the desired file in C# language. Approach-1: Low-level coding public void Convert() { FileStream stream = byte…