BLOG.CSHARPHELPER.COM: Category Archive for extension methods

Add useful extensions to the BitArray class in C#

Make SubArray extension methods that let you easily copy parts of one- and two-dimensional arrays in C#

Add extension methods to the Random class to generate double values within a specified range in C#

Make MidX, MidY, and Center extension methods for the Rectangle and RectangleF structs in C#

Use string extension methods to validate Social Security numbers in C#

Add a ToString extension method to the TimeSpan structure in C#

Make extension methods that randomize arrays and lists in C#

Remove characters that are not printable ASCII characters from a string in C#

Add useful extension methods to the ListView control to let it sort using all columns or clicked columns in C#

Add "extension properties" to classes in C#

Make an extension method that randomizes a two-dimensional array in C#

Add a DrawRectangle method to the Graphics class that takes a RectangleF as a parameter in C#

Make extension methods that convert numbers between Arabic and Roman numerals in C#

Measure distances on a map with a scale and display them with limited significant digits in C#

Display a floating point number with a specific number of significant digits in C#

Make an extension method that calculates standard deviation in C#

Calendar

June 2013
SuMoTuWeThFrSa
1
2345678
9101112131415
16171819202122
23242526272829
30

Subscribe


Blog Software
Blog Software