ALLINSIGHT

Home of the AlmostImplementedException

Method

Implementation of a string reverse Extension Method

This is a follow-up of Introducing Extension Methods This method is an extension of the string-class. It reverts a string in a very efficient way and it is widely used around the world. Faster methodes use either unsafe code or only work fast on very short strings. Share :

, , ,

Introducing Extension Methods for Arrays

With Extension methods you can extend the existing funtionality of objects and types. In this case we will extend the functionality of an Array. So we need to create two extensions. One for changing the size and one for appending a new element. What do we need for this? At first we need a static […]

, , , ,