Posts

Showing posts with the label string

Latest post

Read text file

This reads the text file and returns null if file does not exist.

Convert delimited string to string list

Use this if you want to convert a delimited string (e.g. comma delimited - "a,b,c,d") into List<string>.

Generate random base64 string using RandomNumberGenerator

Use this code to generate a random base64 string. This code can be used for generating random key or token strings.