August, 2013
30 08 2013
Extension methods are an easy way to add additional functions to an object. Today i’ll show you 2 String-Extension methods and with that want to dig a little deeper into the matter. For Array-Extension-Methods have a look here. An extension method is a static method which uses the this keyword on the first parameter and […]
extension methods, format, replace, revert, string
15 08 2013
Yield is another fancy keyword you will not see very often. Its only for one special usecase, but for this its very helpful. Imaging you want to iterate through Objects that needs to be generated or fetched from a webservice and there a thousand of them. It may take very long to get them or […]
foreach, ienumerable, yield, yield break, yield return