By tag: Strings
0
kicks
How to check if a string is empty
Interesting article that shows different ways of checking if a string is empty and explains the pros and cons.
0
kicks
How to: Use strings in a secure manner with SecureString class
The classic System.String type doesn’t provide enough security for storing sensitive data like passwords, credit card numbers or personal information. If a String object contains sensitive information, there is a risk the information could be revealed after it is used because your application cannot...
0
kicks
Compress strings in C#
Compress the strings using a GZipStream and then decompress them later when needed.
0
kicks
String Formatting in C#
A very nice little primer on using String.Format to conrol the generation of strings