MD5 Hash by String
3
This function returns a stack trace for an exception with all inner exceptions include unless the count of inner exceptions goes over 50. A stack overflow can occur if there is no upper limit for inner exceptions to read from.
Makes use of stringbuilder to build return string in order to yield higher performance.
Makes use of stringbuilder to build return string in order to yield higher performance.
4
This function provides the reverse of a string. It is constructed using string builder because strings in .NET are immutable, while stringbuilders are not. Therefore large strings could be slow to reverse if a regular string was used for the working value that is returned.
5
Counting for loop in VB.NET. Looks easy because it is, but I saw one submitted for PHP.
9
Generates an 88 character secure hash string for the passed in strings.
9
The easiest way to give columns in a DataGrid the look you want is to use a DataGridTableStyle and to add a GridColumnStyle for each column in the grid.
7
Have you ever tried to use Color.Blue.ToString and gotten undesired results?
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
Or have you ever tried to save a color to an INI and not be able to reproduce it the next time around?
The methods below will help you in your conquest of converting the Color structure to HTML (#FF0000) and back to a Color structure again.
6
An all in one function that formats a given file's Size from bytes to gB.
4
Loading and Saving an ArrayList to/from any given path.
5
Returns a percentage. There are 3 arguments.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
1. complete - How much is done?
2. total - How much is there?
3. maxPercentage - Total percentage possible, usually 100.
Simple, yep.
6
I use something similar to this in an application named Shock 3. It provides you with your own Custom settings that can handle your own Custom types as well.









