Utility Library
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
mstum.utils.tests Circular Buffer supports removing (thanks to anavarro9731) Feb 19, 2012
mstum.utils Added IEnumerable.Nth extension methods Feb 19, 2012
.gitignore Removed Testsettings Nov 26, 2011
LICENSE.txt Relicensed under MIT, added README Nov 26, 2011
README.md
mstum.utils.sln Added CircularBuffer<T> Nov 26, 2011

README.md

.net Utility Library

Just some Misc. Utilities that I wrote over time.

Circular Buffer

Also known as "Ring Buffer". Has a set capacity and as you add items, new items overwrite the oldest one. In other words: This holds the last {capacity} items.

http://www.stum.de/2011/11/26/circularbuffer-added-to-my-net-utils-library/

Base36 Encoder/Decoder

Convert an Int64 or BigInteger to a Base36 string and vice versa. http://www.stum.de/2008/10/20/base36-encoderdecoder-in-c/ http://en.wikipedia.org/wiki/Base36

.INI File Parser

Read and Write .ini Files

http://www.stum.de/2009/08/15/a-simple-ini-file-parser-for-c/

A simple Even/Odd Cycler

Useful when writing out a table and switching css classes for each row

http://www.stum.de/2010/01/22/a-simple-evenodd-cycler-for-net/

A Command Line Parser

There are many Command Line Argument Parsers, some simple, some complicated. Here is mine.

http://www.stum.de/2008/06/22/parsing-the-command-line/

Extension method to replace multiple Chars in a string

Replace characters in a string with another string or remove them altogether.

http://www.stum.de/2010/02/16/an-extension-method-to-replace-multiple-chars-in-a-string/

Return another string if string is null or empty

var displayString = stringThatMaybeNull.IfEmpty("None set.");

http://www.stum.de/2010/01/16/extension-method-return-another-string-if-string-is-null-or-empty/

String.Format Extension method

"Hello, {0}".Use("Michael")

http://www.stum.de/2009/08/20/turning-string-format-into-an-extension-method/

License

A copy of the license can be found in LICENSE.txt or at http://mstum.mit-license.org/